1 在info.plist文件UIViewControllerBasedStatusBarAppearance 设置为NO
2 全局隐藏状态栏
[[UIApplication sharedApplication] setStatusBarHidden:YES];
1 在info.plist文件UIViewControllerBasedStatusBarAppearance 设置为NO
2 全局隐藏状态栏
[[UIApplication sharedApplication] setStatusBarHidden:YES];