Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (void)addContactButtonTapped
  2. {
  3.     static dispatch_once_t once;
  4.     dispatch_once(&once, ^{
  5.         self.pickRecipientVC = [PickRecipientViewController new];
  6.         self.pickRecipientVC.delegate = self;
  7.         self.pickRecipientNC = [[UINavigationController alloc] initWithRootViewController:self.pickRecipientVC];
  8.     });
  9.    
  10.     [self presentViewController:self.pickRecipientNC
  11.                        animated:YES
  12.                      completion:nil];
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement