unknownPersonViewController(_:shouldPerformDefaultActionForPerson:property:identifier:)
Sent when the user selects a property value of the person displayed in a person view controller.
Declaration
optional func unknownPersonViewController(_ personViewController: ABUnknownPersonViewController, shouldPerformDefaultActionForPerson person: ABRecord, property: ABPropertyID, identifier: ABMultiValueIdentifier) -> BoolParameters
- person:
The person
unknownPersonViewControlleris displaying. - property:
The property whose value the user selected.
- identifier:
The identifier for the value the user selected if
propertyis a multivalue property; otherwise,kABMultiValueInvalidIdentifier.
Return Value
true if unknownPersonViewController should perform its default action. Your application may quit as a result of this action. false: if unknownPersonViewController should do nothing. The delegate may perform custom action processing.