我对 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 不起作用
发布评论