隐藏StatusBar 非setStatusBarHidden

 UIWindow * window = [[UIApplication sharedApplication].windows lastObject];

 

隐藏

[window setWindowLevel:UIWindowLevelStatusBar];

 

显示 

[window setWindowLevel:UIWindowLevelStatusBar];

 

posted @ 2015-09-02 18:57  levyleo  阅读(320)  评论(0编辑  收藏  举报