Advertisement
Guest User

Untitled

a guest
Aug 24th, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. -(IBAction)devDismiss
  2. {
  3. NSLog(@" ------- dev dismiss .....");
  4.  
  5. // for a custom segue unwind, you must do this...
  6. [self performSegueWithIdentifier:@"specialWord" sender:self];
  7.  
  8. // "specialWord" is the identifier set on storyboard for the
  9. // custom unwind segue
  10.  
  11. /* for a "default" unwind segue, do this...
  12. [self dismissViewControllerAnimated:YES completion:nil];
  13. Note, if you used a push segue, you should use
  14. [self.navigationController popViewControllerAnimated:YES]
  15. If you used a modal segue, you should use
  16. [self dismissViewControllerAnimated:YES completion:nil] "
  17. */
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement