Push segue in iOS 5 not working

烂漫一生 提交于 2019-12-23 09:39:08

问题


I am very much new to 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

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

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.


回答1:


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

Modal transitions...



来源:https://stackoverflow.com/questions/9837592/push-segue-in-ios-5-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!