nick shmick nick shmick - 2 months ago 12
Objective-C Question

How to hide UINavigationBar from a UINavigationController?

I have a view controller that is embedded in a UINavigationController,how can I hide the UINavigationBar? I want the navigation functionality but I don't want that bar in the top..



This should work:

[self.navigationController setNavigationBarHidden:YES animated:YES];

to get it back, just call:

[self.navigationController setNavigationBarHidden:NO animated:YES];

source: How to hide the UINavigationBar for my first view