Perform segue after Login successful in Storyboards
问题 I have 2 UITextFields , one of them for Login and the another for the Password. Only if the Login is "succesful", I want to perform the Segue with Push to another View Controller . But when I touch the button, directly the View push to the Another View without check the Condition. In StoryBoard I drag from the UIButton to the View Controller I want to push, for creating the segue with push option. Here is my code: - (IBAction)buttonLogin:(id)sender { if (([self.textFieldLogin.text