You can set the UIViewController.hidesBottomBarWhenPushed instead:
DetailViewController *detailViewController = [[DetailViewController alloc] init];
detailViewController.hidesBottomBarWhenPushed = YES;
[[self navigationController] pushViewController:detailViewController animated:YES];
[detailViewController release];
More Related Contents:
- How to implement tab bar controller with navigation controller in right way
- How to get navigation based template functionality in Swift programming
- How to change the Push and Pop animations in a navigation based app
- Execute action when back bar button of UINavigationController is pressed
- Changing Tint / Background color of UITabBar
- Popover with embedded navigation controller doesn’t respect size on back nav
- iOS 7 — navigationController is setting the contentInset and ContentOffset of my UIScrollView
- Change UITabBar height
- How to draw a transparent UIToolbar or UINavigationBar in iOS7
- Programmatically navigate to another view controller/scene
- How to hide a navigation bar from first ViewController in Swift?
- UIRefreshControl – beginRefreshing not working when UITableViewController is inside UINavigationController
- iOS custom tabbar
- How can I change the font of the back button for my navigation bar?
- Creating a navigationController programmatically (Swift)
- Programmatically switching between tabs within Swift
- How to disable back swipe gesture in UINavigationController on iOS 7
- Changing VC issue in Swift. How to pass data between views in tab bar controller?
- How to enable back/left swipe gesture in UINavigationController after setting leftBarButtonItem?
- iOS 7 Status Bar Collides With NavigationBar
- Real time blur effect for Navigation Bar
- Completion handler for UINavigationController “pushViewController:animated”?
- Set image and title for bar button item?
- How to hide ‘Back’ button on navigation bar on iPhone?
- Navigation bar show/hide
- presenting ViewController with NavigationViewController swift
- Is there a way to change the height of a UINavigationBar in Storyboard without using a UINavigationController?
- iOS 13 UIBarButtonItem not clickable and overlapping UINavigationBars when using UISearchController
- Present a modal view controller with transparent background
- No Swipe Back when hiding Navigation Bar in UINavigationController