问题
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