Created
August 19, 2013 04:27
-
-
Save markSci5/6265767 to your computer and use it in GitHub Desktop.
Hide the tab bar when pushing a new controller.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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