状态栏样式分两种,前景白色、前景黑色,默认为前景黑色;
修改样式分2步
1.在info.plist中配置 View controller-based status bar
为NO;
2.[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent
1.在info.plist中配置 View controller-based status bar
为NO;
2.[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent