我有接收人的看法。 但是,我只想显示在我接听电话之前有电话号码的接触。
This is how I get the modal view:
-(void)messageWillShowRecipientPicker{
ABPeoplePickerNavigationController *picker =
[[ABPeoplePickerNavigationController alloc] init];
picker.peoplePickerDelegate = self;
NSArray *displayedItems =
[NSArray arrayWithObject:[NSNumber
numberWithInt:kABPersonPhoneProperty]];
picker.displayedProperties = displayedItems;
// Show the picker
[self presentModalViewController:picker animated:YES];
[picker release];
}
任何如何这样做的想法?