一、启动时,隐藏状态栏,启动后显示
1、启动时,隐藏:
在info.plist里面 Status bar is initially hidden 设置为 YES
2、启动后,显示:
在appDelagate里面设置
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[application setStatusBarHidden:NO withAnimation:UIStatusBarAnimationFade];
}
二、设置启动页面停留时间
1、在appDelagate里面设置
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[NSThread sleepForTimeInterval:3.0];
}