Hide status bar

add no to "View controller-based status bar appearance" in info.plist

add following to VC

override func prefersStatusBarHidden() -> Bool {
        return true
    }

Tags: