Basically I want a custom UINavigationBar
. I don't want it to be "translucent" or anything, like the pictures app.
I basically want to completely remove it, but I still want to be able to add back buttons and such when navigation controllers are pushed, and I want the views (EG: UITableViewController
) to be pushed down below it.
Like this:
Any ideas how to achieve this at all?
Thanks
At the beginning of your
AppDelegate
subclassUINavigationBar
as below:and then in the
AppDelegate
do this magic:That should give you a lot more control over
UINavigationController
look & feel.Hard to tell, could be the
UINavigationBar
is there and color matches theUIView
background or, there is noUINavigationBar
, just a view with custom buttons andUILabel
on top. Pick an approach and code it, or ask the question again with more specifics.basically, its not completely see through - its a visual lie. The only way to do it realistically is to override
UINavigationBar
'sdrawRect:
method, as shown above.To see through the
UINavigationBar
, if you choose to have one, just:You'll have to change the tint/color to match the background if you want it to appear like the image you posted.