views:

71

answers:

4

Hi, I have a iphone apps with a navigation controller, dans I want to push a view but in this view the navigationController must be hidden, or if it's not possible, is it possible to only hide de left button, so the user can't go back.

thanks, alex

A: 

You can hide the back button by adding:

self.navigationItem.hidesBackButton = YES;

To your viewWillAppear method in the controller.

You can also:

self.navigationController.hidesBottomBarWhenPushed = YES;     // Hide the tabBar if there is one
self.navigationController.toolbarHidden = YES;        // Hide the top bar on the navigation Controller
joelm
A: 

Looking for this?

self.navigationController.navigationBar.hidden = TRUE;
Louie
A: 

self.navigationItem.hidesBackButton = YES;

AngeDeLaMort
A: 
[self.navigationController setNavigationBarHidden:YES animated:YES];
chilitechno.com