I want the status bar to be displayed in both orientations in iOS 8; it\'s being displayed properly in iOS 7.
navigationController.isNavigationBarHidden
Swift 3
override func viewDidLoad() { super.viewDidLoad() UIApplication.shared.setStatusBarHidden(true, with: .none) UIApplication.shared.setStatusBarHidden(false, with: .none) /// }
and add inside Info.plist this:
Info.plist
UIViewControllerBasedStatusBarAppearance boolean value NO
UIViewControllerBasedStatusBarAppearance
NO