由网友(一念天堂一念地狱)分享简介:cocos2d iOS7游戏如何隐藏状态栏?这个问题在 iOS6 及以下版本没有观察到.How to hide status bar in cocos2d iOS7 games? This problem is not observed in iOS6 and below.[[UIApplication share...
cocos2d iOS7游戏如何隐藏状态栏?这个问题在 iOS6 及以下版本没有观察到.
How to hide status bar in cocos2d iOS7 games? This problem is not observed in iOS6 and below.
[[UIApplication sharedApplication] setStatusBarHidden: YES];
什么是 iOS7 替代品?
What's iOS7 alternative for this ?
推荐答案
很简单……在info.plist中添加下面一行
Its simple...…add below line in info.plist
View controller-based status bar appearance NO
截图:
相关推荐
最新文章