简体   繁体   English

在iOS 5中推送segue不起作用

[英]Push segue in iOS 5 not working

I am very much new to IOS. 我是IOS的新手。 I am using the storyboard feature to create a app 我正在使用故事板功能来创建应用程序

Here is what I want. 这就是我想要的。 I have two view Controllers, say oneViewController and twoViewController 我有两个视图控制器,比如oneViewController和twoViewController

I have a button on oneViewController. 我在oneViewController上有一个按钮。 I ctrl+dragged the button from oneViewController to twoViewController and selected push from Segue. 我按下+从一个ViewController拖动按钮到两个ViewController并从Segue中选择推送。

I compiled the app on iOS 5.0 and run it, and it's not working. 我在iOS 5.0上编译了应用程序并运行它,它无法正常工作。 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. 我正在使用此链接的一部分和此链接作为指导。

The "push" segue is modeled for use with changing views from the UITableViewController (UINavigationController) , modal is acceptable switching between UIViewControllers . “push” segue被建模用于从UITableViewController (UINavigationController)更改视图,模态是UIViewControllers之间可接受的切换。

Modal transitions... 模态转换......

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM