无法在Xcode 6中的新故事板中设置初始视图控制器 [英] No Way to Set Initial View Controller in New Storyboard in Xcode 6

查看:94
本文介绍了无法在Xcode 6中的新故事板中设置初始视图控制器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是我在Xcode 6.0.1中所做的事情:

Here's what I did in Xcode 6.0.1:

步骤1:使用单一视图创建新项目。

Step 1: Create a new project with a single view.

第2步:在项目中添加其他故事板。

Step 2: Add an additional storyboard to the project.

第3步:将原始故事板与新添加的故事板进行比较。请注意没有箭头指定初始视图控制器。我也找不到添加方法的方法。

Step 3: Compare the original storyboard with the newly added one. Note how there is no arrow to designate the initial view controller. I can't find a way to add one, either.


这是预期的行为吗?每个应用程序只能有一个初始视图控制器吗?我想我每个故事板可以有一个。

Is this expected behavior? Can you only have one initial view controller per application? I thought I could have one per storyboard.

提前致谢。

推荐答案

选择视图控制器,然后使用属性检查器中的是初始视图控制器复选框。

Select the view controller, then use the "Is Initial View Controller" checkbox in the attributes inspector.

这篇关于无法在Xcode 6中的新故事板中设置初始视图控制器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆