嗨,我正在把我的环球应用程序从iOS6升级到iOS7。我在.plist文件中使用以下方法隐藏状态栏:
-> Status bar is initially hidden = YES
-> View controller-based status bar appearance = NO
然后在我的AppDelegate didFinishLaunchingWithOptions中:我添加了:
[[UIApplication sharedApplication] setStatusBarHidden:YES
with