Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(IBAction)devDismiss
- {
- NSLog(@" ------- dev dismiss .....");
- // for a custom segue unwind, you must do this...
- [self performSegueWithIdentifier:@"specialWord" sender:self];
- // "specialWord" is the identifier set on storyboard for the
- // custom unwind segue
- /* for a "default" unwind segue, do this...
- [self dismissViewControllerAnimated:YES completion:nil];
- Note, if you used a push segue, you should use
- [self.navigationController popViewControllerAnimated:YES]
- If you used a modal segue, you should use
- [self dismissViewControllerAnimated:YES completion:nil] "
- */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement