In Xcode how do I know if my lauch image is working correctly?

后端 未结 3 1912
时光说笑
时光说笑 2021-01-17 12:13

When I run the simulator, the app opens really quickly so it\'s impossible to see the launch image.

相关标签:
3条回答
  • 2021-01-17 12:21

    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.

    0 讨论(0)
  • 2021-01-17 12:26

    Set below code 1st line of your application:didFinishLaunchingWithOptions:

    sleep(delay); // delay int value
    
    0 讨论(0)
  • 2021-01-17 12:44
    1. Launch iOS simulator
    2. Enable slow animations ( + T)
    3. Launch your app.
    4. Blink slowly
    0 讨论(0)
提交回复
热议问题