In Xcode how do I know if my lauch image is workin

2020-02-07 00:30发布

问题:

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:

  1. Launch iOS simulator
  2. Enable slow animations ( + T)
  3. Launch your app.
  4. Blink slowly


回答3:

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

sleep(delay); // delay int value


标签: ios xcode