iOS状态栏操作

1.修改状态栏类型

[[UIApplication shareApplication] setStatusBarStyle:UIstatusBarstyleLightContent];

2.状态栏菊花转动

[UIApplication sharedApplication].networkActivityIndicatorVisible = YES;

3.状态栏菊花停止转动

[UIApplication sharedApplication].networkActivityIndicatorVisible = NO;

你可能感兴趣的:(ios,状态栏)