在Xcode中,我如何知道我的图像是否正常工作?

时间:2022-06-23 07:26:36

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

当我运行模拟器时,应用程序会很快打开,因此无法看到启动图像。

3 个解决方案

#1


12  

Set a breakpoint to the 1st line of your application:didFinishLaunchingWithOptions: delegate method. Or better yet, inside main.

将断点设置为应用程序的第1行:didFinishLaunchingWithOptions:delegate方法。或者更好的是,在主要内部。

This will pause the app before showing your user interface and allow you to see the launch screen.

这将在显示您的用户界面之前暂停应用程序,并允许您查看启动屏幕。

#2


1  

  1. Launch iOS simulator
  2. 启动iOS模拟器

  3. Enable slow animations ( + T)
  4. 启用慢动画(⌘+ T)

  5. Launch your app.
  6. 启动您的应用。

  7. Blink slowly

#3


1  

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

在应用程序的第一行下面设置:didFinishLaunchingWithOptions:

sleep(delay); // delay int value

#1


12  

Set a breakpoint to the 1st line of your application:didFinishLaunchingWithOptions: delegate method. Or better yet, inside main.

将断点设置为应用程序的第1行:didFinishLaunchingWithOptions:delegate方法。或者更好的是,在主要内部。

This will pause the app before showing your user interface and allow you to see the launch screen.

这将在显示您的用户界面之前暂停应用程序,并允许您查看启动屏幕。

#2


1  

  1. Launch iOS simulator
  2. 启动iOS模拟器

  3. Enable slow animations ( + T)
  4. 启用慢动画(⌘+ T)

  5. Launch your app.
  6. 启动您的应用。

  7. Blink slowly

#3


1  

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

在应用程序的第一行下面设置:didFinishLaunchingWithOptions:

sleep(delay); // delay int value