Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的问题是:如何在 ios 6 应用程序中禁用标准顶栏(带电池、时间信息)?
我的意思是那个:
?
那是状态栏。您可以通过设置属性“ Status Bar Initially hidden。”来隐藏它。到YESinfo.plist 文件中的“”
Status Bar Initially hidden
YES
你也可以通过代码隐藏,像这样
[ UIApplication application setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];