本文介绍了删除导航视图控制器时如何修复黑屏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图从 Xcode 应用程序中删除导航 ViewController.当我从 Main.storyboard 文件中删除时,当我运行应用程序时应用程序屏幕是黑色的(这不是因为它正在加载).
I am attempting to delete a Navigation ViewController from Xcode application. When I delete from the Main.storyboard file, the app screen is black when I run the application(it's not because it is loading).
如何成功地从我的 Xcode 应用程序中取消集成导航视图控制器?
How can I successfully de-integrate a Navigation ViewController from my Xcode application?
推荐答案
我认为删除导航VC后,故事板中没有初始视图控制器
I think there is no initial view controller in your storyboard after you delete the navigationVC
你需要先选择你要加载什么的VC并勾选IsInitialVC
You need to select VC that you what to load first and check IsInitialVC
这篇关于删除导航视图控制器时如何修复黑屏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!