Skip to content

Instantly share code, notes, and snippets.

@markSci5
Created August 19, 2013 04:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markSci5/6265767 to your computer and use it in GitHub Desktop.
Save markSci5/6265767 to your computer and use it in GitHub Desktop.
Hide the tab bar when pushing a new controller.
// Create the UIViewController
MyViewController * viewController = [[MyViewController alloc] init];
// Hide the tab bar
viewController.hidesBottomBarWhenPushed = YES;
// Push onto the view stack
[[self navigationController] pushViewController:viewController animated:YES];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment