This is better:
viewController.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:viewController animated:YES];
You have to set hidesBottomBarWhenPushed = YES on the controller you are going to push into the view…
More Related Contents:
- How to hide UINavigationBar 1px bottom line
- Real time blur effect for Navigation Bar
- Programmatically get height of navigation bar
- Swift language NSClassFromString
- Programmatically set the initial view controller using Storyboards
- UIActivityViewController crashing on iOS 8 iPads
- How can I convert from degrees to radians?
- Looping a video with AVFoundation AVPlayer?
- Fade/dissolve when changing UIImageView’s image
- Sqlite File Location Core Data
- How to increase the height of navigation bar in Xcode?
- Issue using CCCrypt (CommonCrypt) in Swift
- Converting Hex String to NSData in Swift
- Custom edit view in UITableViewCell while swipe left. Objective-C or Swift
- How to calculate UILabel width based on text length?
- iOS UINavigationBar button remains faded after segue back
- How to throttle search (based on typing speed) in iOS UISearchBar?
- Add a UIView above all, even the navigation bar
- When to use takeUnretainedValue() or takeRetainedValue() to retrieve Unmanaged Objects in Swift?
- iOS temporary folder location
- Changing the height of the Navigation bar iOS Swift
- Formatting a UITextField for credit card input like (xxxx xxxx xxxx xxxx)
- Swift doesn’t convert Objective-C NSError** to throws
- Center NSTextAttachment image next to single line UILabel
- Dismissing the keyboard in a UIScrollView
- performSegueWithIdentifier very slow when segue is modal
- import swift class in objective-c, -Swift.h file not found
- How to manage cookies with UIWebView in Swift
- What size should TabBar images be?
- How do I do weak linking in Swift?