iOS7 Xcode 5如何设置隐藏状态栏
转自:http://www.cocoachina.com/ask/questions/show/99658
最简单直接的方法:
直接在RootViewController.mm里面(Cocos2d-x项目),加上:
//ADD 20130926 FOR iOS7(隐藏状态栏)
- (BOOL)prefersStatusBarHidden
{
return YES;
}
相关参考:http://stackoverflow.com/questions/17763719/status-bar-wont-disappear