I have a Login page with a button. When I click on it, IF and ONLY IF the login was successful, I want to pass data to another class (using properties).
I have tried usi
Once prepareForSegue:sender: has been called, you can't stop the segue from happening.
prepareForSegue:sender:
segue
You should check for the criteria and call the performSegueWithIdentifier method conditionally.
performSegueWithIdentifier