Skip to content

Instantly share code, notes, and snippets.

@saumya
Created February 13, 2014 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saumya/8969920 to your computer and use it in GitHub Desktop.
Save saumya/8969920 to your computer and use it in GitHub Desktop.
Customising the NavBar and ToolBar in a ViewController which is inside a UINavigationViewController
- (void)viewDidLoad
{
//hide backbutton
[self.navigationItem setHidesBackButton:YES];
//hide the complete navigation bar
[self.navigationController setNavigationBarHidden:YES];
//hide tool bar
self.navigationController.toolbarHidden=YES;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment