iOS8横屏时,状态栏会消失 使用以下代码可以阻止状态栏消失 override func prefersStatusBarHidden() -> Bool { return false } 转载于:https://www.cnblogs.com/Storms/p/3914815.html