简体   繁体   English

iPhone应用程序未在模拟器Xcode上运行

[英]iPhone app not running on simulator xcode

So I'm trying to run a new tabbed application in the iPhone simulator, but I keep getting a black screen after my app loading screen. 因此,我试图在iPhone模拟器中运行一个新的选项卡式应用程序,但是在我的应用程序加载屏幕之后,我一直保持黑屏。

I've tried Reset Content and Settings and I've made sure that my storyboard is the main interface. 我尝试了“重置内容和设置”,并确保了我的故事板是主界面。

My app also doesn't appear in the iPhone simulator app pages 我的应用程序也没有出现在iPhone模拟器应用程序页面中

Black screen appear only when, you do not set any initial launching screen in the application, and thus it show black window screen. 仅当在应用程序中未设置任何初始启动屏幕时,黑屏才会出现,从而显示黑屏。 In your storyboard select "Tab Bar controller Scene" and check its attribute inspector and check if "is Initial View controller" field is selected or not. 在您的情节提要中,选择“制表符栏控制器场景”,然后检查其属性检查器,并检查是否选择了“是初始视图控制器”字段。 图片

Make sure you set your initial view correctly in Storyboard 确保您在情节提要中正确设置了初始视图

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM