iOS 5 / XCode 4 Storyboard问题 – 找不到“performSequeWithIdentifier:sender”

我正在试用iOS 5 / XCode中的新Storyboard功能,但我无法让两个场景之间的segue过渡工作.我试过按照 this教程但是我被困在第6阶段:

Click one of the Switch View button so it is highlighted like below,then holding control then click the Switch View button and drag from the button until the blue line touches the other view. A black pop-up Box will come up and select performSequeWithIdentifier:sender. Repeat for the other button.

所以我要做的是使用标有“Switch View”的按钮创建从一个场景到另一个场景的过渡.根据教程,我应该单击按钮,然后按住CTRL并从按钮拖动到另一个View Controller并释放;然后弹出窗口应该出现一个选项:performSequeWithIdentifier:sender.但我从来没有得到这个选项,而是我得到这三个选项:Push,Modal和Custom.我尝试过这些选项,但是当我点击模拟器中的按钮时没有任何反应.

我的设置截图:http://i.solidfiles.net/0784.png

我在SNow Leopard 10.6.7下运行最新的XCode 4.2预览版6.

我究竟做错了什么?提前致谢!

解决方法

在上面的菜单中转到编辑器并将导航栏嵌入到查看一个.您需要首先指定一个NavBar,因为它使用Stack.然后,您可以控制拖动View one to View Two来创建segue.选择“推送”segue.顺便说一下,在Apple的论坛上发布关于Xcode 4.2 Beta6的NDA问题.

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...