第一步:
在Info.plist里面添加一行View controller-based status bar appearance = NO
第二步:
AppDelegate.m文件的didFinishLaunching的方法中添加下面代碼:
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
第一步:
在Info.plist里面添加一行View controller-based status bar appearance = NO
第二步:
AppDelegate.m文件的didFinishLaunching的方法中添加下面代碼:
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;