iOS 状态栏处理
2020-06-09 本文已影响0人
Zhen斌iOS
1、隐藏状态栏
[[UIApplication sharedApplication] setStatusBarHidden: YES animated: NO];
2、状态栏的网络活动风火轮是否旋转
// 默认值为NO
[UIApplication sharedApplication].networkActivityIndicatorVisible҅ = YES;
1、隐藏状态栏
[[UIApplication sharedApplication] setStatusBarHidden: YES animated: NO];
2、状态栏的网络活动风火轮是否旋转
// 默认值为NO
[UIApplication sharedApplication].networkActivityIndicatorVisible҅ = YES;