应用程序挂在设备上的启动画面上,但在模拟器上加载正常

时间:2018-05-04 21:46:21

标签: screen ios11 xcode9

您好我花了最后12个小时与此战斗,该应用程序加载到模拟器iOS 11.3上但没有在我的设备iPhone 6s Plus iOS 11.2上它永远挂在启动画面上,我用这段代码调用初始视图: self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];

    UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];

    UINavigationController *viewController = [storyboard instantiateViewControllerWithIdentifier:@"nac"];

    self.window.rootViewController = viewController;
    [self.window makeKeyAndVisible];`

并尝试从项目设置加载初始视图,没有任何内容,

在日志中显示:2018-05-04 17:35:08.822190-0400 AppF [1480:388349] [MC]已加载MobileCoreServices.framework

我已将配置配置文件设置为自动。

0 个答案:

没有答案
相关问题