























在 info.plist 里面添加 :
View controller-based status bar appearance = NO
然后在添加一句代码(我在 AppDelegate.m 里面添加的)
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES];
就可以实现电池栏白色.
想要设置成为黑色把 setStatusBarStyle: 设置成为 UIStatusBarStyleDefault
//全局系统按钮变白色
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。