我需要有关在 iPhone 上启动图像的帮助。 在 xcode 的项目设置中,有一个选项可以添加启动图像。 我添加了它,它显示了 2 秒... 我想让它更... 我该如何改变它? 谢谢:)
最佳答案
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
/*this will pause main thread for x interval seconds.
put on the top of application:didFinishLaunchingWithOptions, so it will not
proceed to show window until sleep interval is finished.*/
[NSThread sleepForTimeInterval:2]; //add 2 seconds longer.
//other code....
}
关于iphone - 使启动图像显示更长的xcode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9451556/