tags:

views:

55

answers:

1

Under

  • (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)

peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person

property:(ABPropertyID)property identifier:(ABMultiValueIdentifier)identifier{}

is it possible to get returned the phone number or somewhat the user has clicked?

+1  A: 
id value = [(id)ABRecordCopyValue(person, property) autorelease]
if (ABPersonGetTypeOfProperty(property) & kABMultiValueMask) {
  CFIndex index = ABMultiValueGetIndexForIdentifier((ABMultiValueRef)value,identifier);
  value = [(id)ABMultiValueCopyValueAtIndex((ABMultiValueRef)value, index) autorelease];
}
tc.