Xcode 如何更改启动时首先加载的 viewController [英] Xcode how to change which viewController loads first at start-up

查看:40
本文介绍了Xcode 如何更改启动时首先加载的 viewController的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是故事板,xcode 4.6.1.我已经创建了一个应用程序,但现在我想返回并在开头添加一个新的视图控制器.我如何将这个视图控制器指定为第一个在运行时加载的?

I am using storyboards, xcode 4.6.1. I have created an app, but now I want to go back and add a new view controller to the beginning. How do I assign this view controller to be the first one to load up at run-time?

推荐答案

在storyboard中选择你的viewcontroller,点击show the attributes inspector

Choose your viewcontroller in storyboard , click show the attributes inspector

然后选择initial scene: is initial view controller

这篇关于Xcode 如何更改启动时首先加载的 viewController的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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