Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(IBAction) showPicker:(id) sender{
- ABPeoplePickerNavigationController *picker=[[ABPeoplePickerNavigationController alloc] init];
- picker.peoplePickerDelegate = self;
- picker.displayedProperties = [NSArray arrayWithObjects:[NSNumber numberWithInt:kABPersonEmailProperty], nil];
- [self presentModalViewController:picker animated: YES];
- [picker release];
- }
Add Comment
Please, Sign In to add comment