Share via


CNContactPickerDelegate_Extensions Class

Definition

Extension methods to the ICNContactPickerDelegate interface to support all the methods from the CNContactPickerDelegate protocol.

public static class CNContactPickerDelegate_Extensions
type CNContactPickerDelegate_Extensions = class
Inheritance
CNContactPickerDelegate_Extensions

Remarks

The extension methods for ICNContactPickerDelegate interface allow developers to treat instances of the interface as having all the optional methods of the original CNContactPickerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

Name Description
ContactPickerDidCancel(ICNContactPickerDelegate, CNContactPickerViewController)

Called after the user selects the "Cancel" button.

ContactPropertySelected(ICNContactPickerDelegate, CNContactPicker, CNContactProperty)
ContactSelected(ICNContactPickerDelegate, CNContactPicker, CNContact)
DidClose(ICNContactPickerDelegate, CNContactPicker)
DidSelectContact(ICNContactPickerDelegate, CNContactPickerViewController, CNContact)

Called after the user selects the contact.

DidSelectContactProperties(ICNContactPickerDelegate, CNContactPickerViewController, CNContactProperty[])

Called after the user selects multiple properties. Devs must override this method to configure the CNContactPickerViewController for multiple selection.

DidSelectContactProperty(ICNContactPickerDelegate, CNContactPickerViewController, CNContactProperty)

Called after the user selects a property of the contact.

DidSelectContacts(ICNContactPickerDelegate, CNContactPickerViewController, CNContact[])

Called after the user selects multiple contacts. Devs must override this method to configure the CNContactPickerViewController for multiple selection.

WillClose(ICNContactPickerDelegate, CNContactPicker)

Applies to