2nd, Ctrl+drag the button to the .h file, create an action name like 'onClickLoginSubmit'.
3rd, put this code into the method you created in the .m file. like this
- (IBAction)onClickLoginSubmit:(id)sender {
[self performSegueWithIdentifier: @"Me2LoginSegue" sender: self];
}
@end
Done
No comments:
Post a Comment