Quantcast
Channel: status bar hidden on simulator but not iPhone - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Foolish for status bar hidden on simulator but not iPhone

you can do likeoverride var prefersStatusBarHidden: Bool { return true}for more option you can go Status Bar Hidden

View Article


Answer by Patrick R for status bar hidden on simulator but not iPhone

You can write this code in viewWillAppear:UIApplication.shared.setStatusBarHidden(true, with: .slide)And if you don’t want to hide status bar for other views then you should hide in...

View Article

Answer by Vikash Kumar for status bar hidden on simulator but not iPhone

Write this method on each view controller unless you have that plist entry.Objective-c-(BOOL)prefersStatusBarHidden{ return YES;}Swift 3+override var prefersStatusBarHidden: Bool { return true}And...

View Article

status bar hidden on simulator but not iPhone

I'm presenting a navigation controller with a view controller embedded in it and i want the status bar to be hidden. The good news is the status bar is hidden on simulator. But its not hidden when I...

View Article
Browsing all 4 articles
Browse latest View live