Search This Blog

Monday, October 10, 2016

iOS Swift. How to hide the status bar

For hide status bar you must override method prefersStatusBarHidden  in each View Controller you need.
override var prefersStatusBarHidden: Bool {
        return true
}

No comments:

Post a Comment