延长APP的启动时间
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[NSThread sleepForTimeInterval:3.0f];
return YES;
}
这样就会等待3秒,然后运行APP。
主要用在需要显示下启动页面的时候,会用到。
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[NSThread sleepForTimeInterval:3.0f];
return YES;
}
这样就会等待3秒,然后运行APP。
主要用在需要显示下启动页面的时候,会用到。