- (UIStatusBarStyle)preferredStatusBarStyle
{
return UIStatusBarStyleLightContent;
}
//
- (BOOL)prefersStatusBarHidden//for iOS7.0
{
return YES;
} 需要隐藏的时候调用
[self setNeedsStatusBarAppearanceUpdate]; 这种方法好处是控制单个视图的状态栏显示与隐藏
2021-08-18 19:31:54
- (UIStatusBarStyle)preferredStatusBarStyle
{
return UIStatusBarStyleLightContent;
}
//
- (BOOL)prefersStatusBarHidden//for iOS7.0
{
return YES;
} 需要隐藏的时候调用
[self setNeedsStatusBarAppearanceUpdate]; 这种方法好处是控制单个视图的状态栏显示与隐藏