I have a navigation based application. The first view (rootcontroller) begins with only three large buttons. There is no navigation bar. From there, everything else is tables and have navigation bars. I do this to show / hide the navigation bar:
MyAppAppDelegate *appDelegate = [[UIApplication sharedApplication] delegate]; appDelegate.navigationController.navigationBar.hidden = NO;
As soon as I leave the root controller, the navigation bar will jump into place and stand on top of the table, instead of pushing it away. He pinches the top of the table. Returning to the root controller is not smooth in the way the navigation bar disappears. Is there a smoother / better way to hide the navigation bar for the root controller only?
objective-c iphone cocoa-touch uinavigationcontroller
4thSpace Jan 17 '10 at 1:05 2010-01-17 01:05
source share