在 iOS 5 中推送 segue 不起作用

编程入门 行业动态 更新时间:2024-10-27 02:28:21
本文介绍了在 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 不起作用

本文发布于:2023-11-27 20:31:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639498.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不起作用   iOS   segue

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!