【发布时间】:2014-10-01 14:40:43
【问题描述】:
我在 Xcode 6 中创建了一个新的 Single View 项目。我运行该应用程序,它看起来不错。 我去 Main.storyboard 并删除那里的视图控制器。然后我将一个新的“视图控制器”拖到 Main.storyboard 中。我需要做什么才能成功运行应用程序而没有任何运行时异常?我做了以下事情:
1- Check the "Is Initial View Controller"
2- Give the new view controller a Storyboard ID
【问题讨论】:
-
在常规设置中检查storyboard是否连接