I'm trying to do some tests in my multiview application before performing a segue push.
when the user push a button, it performs a test, if it's ok : the next view is loaded, if not i do not want to load the next view (stay on the first view or load an other)
Is there a way to do that ?
Xcode 4.3.1
If the test is ok, you can trigger the segue with performSegueWithIdentifier:sender:, and if it's not ok just do nothing or push another view controller.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With