I have this code to open the contacts view controller:
ABNewPersonViewController *newPersonVC = [[ABNewPersonViewController alloc] init];
newPersonVC.newPersonViewDelegate = self;
UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:newPersonVC];
[self presentModalViewController:nc animated:YES];
I want to be able to grab NSString *phoneNumber = @"(416)-555-5555";
and put it into the "home phone" field. I have looked through other answers and I end up getting either nothing popping up or my app crashes. Apple's documentation doesn't help much either.
How do I solve this? Any help is appreciated.