ios 设置状态栏文本颜色为白色

1,在.plist文件中添加一个键值对:设置View controller-based status bar appearance的值为NO

2,在方法中

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
添加   [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];

 
 
上一篇:Scene is unreachable due to lack of entry points and does not have an identifier for runtime access


下一篇:<机器学习>无监督学习算法总结