状态栏样式设置如下:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
[application setStatusBarStyle:UIStatusBarStyleBlackOpaque];
}
但是应用启动时的状态栏样式是UIStatusBarStyleDefault
. 应用启动时如何设置状态栏样式?提前致谢!