xcode 11.2.1上的黑屏模拟器

问题描述 投票:0回答:1

我安装了xcode 11.2.1,试图尝试一些新事物(xcode和ios应用程序开发),我试图创建一个简单的应用程序(应用程序的侧边菜单),尝试运行该应用程序后,屏幕变黑,没有显示我的应用。在提出这个问题之前,我已经尝试了几种建议的解决方案,例如重置内容和坐在模拟器上,但是没有用,我希望有人可以帮助我谢谢this is the containercontroller screen shot

ios xcode simulator xcode11.2.1
1个回答
0
投票

发生黑屏,例如:如果您的应用程序没有“入口点”,那就是该应用程序开始的点(UIViewController)。

这里是如何设置此示例:

  1. 请确保在项目配置中设置了正确的Storyboardenter image description here

  2. 请确保在所选的Storyboard中有一个Initial ViewControllerenter image description here

执行完这些步骤后,您的应用在应用启动后立即显示Initial ViewControllerenter image description here

© www.soinside.com 2019 - 2024. All rights reserved.