1、首先在info.plist里面加个属性View controller-based status bar appearance并将其值设置为NO
2、在appdelegate里面添加下面这行代码就可以了
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
1、首先在info.plist里面加个属性View controller-based status bar appearance并将其值设置为NO
2、在appdelegate里面添加下面这行代码就可以了
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];