When I run the simulator, the app opens really quickly so it's impossible to see the launch image.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Set a breakpoint to the 1st line of your application:didFinishLaunchingWithOptions:
delegate method. Or better yet, inside main
.
This will pause the app before showing your user interface and allow you to see the launch screen.
回答2:
- Launch iOS simulator
- Enable slow animations (
⌘
+T
) - Launch your app.
- Blink slowly
回答3:
Set below code 1st line of your application:didFinishLaunchingWithOptions:
sleep(delay); // delay int value