Search code examples
iosobjective-cios6segueuiactionsheet

If I bring up a UIActionSheet, how do I make one of the options segue to a new view?


I really have no idea how to do this. I created the UIActionSheet, it comes up when I tap a button, but I want, upon a certain option being selected for the app to segue to a new view controller.


Solution

  • You call in the UIActionSheetDelegate method (when the user taps the button) [self performSegueWithIdentifyer:@"segue_id"];