1.plist文件中添加View controller-based status bar appearance字段 值为NO
2.程序中添加
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;(白色)
3.状态栏只能改为白色或黑色。或者自定义状态栏
1.plist文件中添加View controller-based status bar appearance字段 值为NO
2.程序中添加
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;(白色)
3.状态栏只能改为白色或黑色。或者自定义状态栏