在 iOS 5 中推送 segue 不起作用 [英] Push segue in iOS 5 not working

查看:52
本文介绍了在 iOS 5 中推送 segue 不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 IOS 非常陌生.我正在使用故事板功能来创建应用

I am very much new to IOS. I am using the storyboard feature to create a app

这就是我想要的.我有两个视图控制器,比如 oneViewController 和 twoViewController

Here is what I want. I have two view Controllers, say oneViewController and twoViewController

我在 oneViewController 上有一个按钮.我按住 ctrl+ 将按钮从 oneViewController 拖动到 twoViewController 并从 Segue 选择推送.

I have a button on oneViewController. I ctrl+dragged the button from oneViewController to twoViewController and selected push from Segue.

我在 iOS 5.0 上编译了应用程序并运行它,但它不起作用.我将 push 改为模型并且它起作用了.我错过了什么吗?

I compiled the app on iOS 5.0 and run it, and it's not working. I changed push to model and it worked. Am I missing anything?

我正在使用 此链接此链接作为指导.>

I am using the a part of this link and this link as a guidance.

推荐答案

push" segue 被建模用于改变来自 UITableViewController (UINavigationController) 的视图,UIViewControllers 之间的模式是可以接受的.

The "push" segue is modeled for use with changing views from the UITableViewController (UINavigationController), modal is acceptable switching between UIViewControllers.

模态转换...

这篇关于在 iOS 5 中推送 segue 不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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