标签:
iOS 6通过[UIApplication sharedApplication] 取得app的单例,然后调用setStatusBarHidden方法隐藏 Status Bar。
iOS 7
Info.plist
不但要在Info.plist中增加 Status bar is initially hidden一行,选择为 YES,
还需增加 View controller-based status bar appearance 一行,选择为 NO。
标签:
原文地址:http://www.cnblogs.com/liaods/p/4949764.html