iOS 应用程序启动屏幕中的 UIViewController

UIViewController in iOS app launch screen

是否可以在 iOS 中向 launch screen 添加视图控制器? 如果是,我该怎么做?

我已经正确地将 UIViewController 拖到 LaunchScreen.xib 文件中 运行,但是当我更改 [=14= 中视图控制器的 class 时] 从 "identity inspector" 从 UIViewControllermyLaunchScreenViewControllerName 我遇到了这个错误

Illegal Configuration : Launch screen may not use instance of myLaunchScreenViewControllerName

启动屏幕不是一个完全可定制的视图控制器。您不能在情节提要中指定自定义 class 名称并期望系统为您提供在此阶段通过调用 viewDidLoad 执行代码的选项。请记住,应用程序尚未启动