摘要:
方法 1在项目的plist中 添加 2 项首先设置key:Status bar is initially hidden 为YES然后设置key:View controller-based status bar appearance 为NO方法 2 在 viewController 子类中添加 if ([self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)]) { // iOS 7 [selfprefersStatusBarHidden]; [self performSelector:@sel... 阅读全文