标签: ios8 statusbar
我已按照On iOS8, displaying my app in landscape mode will hide the status bar but on iOS 7 the status bar is displayed on both orientations
即。设置状态栏隐藏在plist中并添加:
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
但仍然无法隐藏状态栏。还有其他建议吗?
答案 0 :(得分:0)
选择您隐藏状态栏的视图控制器,并将状态栏参数设置为NONE,如下图所示: