首先需要在target中的info.plist文件中添加
View controller-based status bar appearance == NO
如图:
之后再设置:
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
状态栏已经是白色了
首先需要在target中的info.plist文件中添加
View controller-based status bar appearance == NO
如图:
之后再设置:
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
状态栏已经是白色了