peoplePickerNavigationController(_:didSelectPerson:property:identifier:)
Called after a property has been selected by the user.
Declaration
optional func peoplePickerNavigationController(_ peoplePicker: ABPeoplePickerNavigationController, didSelectPerson person: ABRecord, property: ABPropertyID, identifier: ABMultiValueIdentifier)Parameters
- peoplePicker:
The people picker where the selection was made.
- person:
The selected person record.
- property:
The selected property.
- identifier:
The selected property identifier.
Discussion
This method is called with an identifier. If you need an index, use the ABMultiValueGetIndexForIdentifier(_:_:) function to get the corresponding index.