Package apple.contactsui.protocol
Interface CNContactViewControllerDelegate
-
public interface CNContactViewControllerDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcontactViewControllerDidCompleteWithContact(CNContactViewController viewController, CNContact contact)Called when the view has completed.default booleancontactViewControllerShouldPerformDefaultActionForContactProperty(CNContactViewController viewController, CNContactProperty property)Called when the user selects a single property.
-
-
-
Method Detail
-
contactViewControllerDidCompleteWithContact
default void contactViewControllerDidCompleteWithContact(CNContactViewController viewController, CNContact contact)
Called when the view has completed. If creating a new contact, the new contact added to the contacts list will be passed. If adding to an existing contact, the existing contact will be passed. [@note] It is up to the delegate to dismiss the view controller.
-
contactViewControllerShouldPerformDefaultActionForContactProperty
default boolean contactViewControllerShouldPerformDefaultActionForContactProperty(CNContactViewController viewController, CNContactProperty property)
Called when the user selects a single property. Return @c NO if you do not want anything to be done or if you are handling the actions yourself.- Returns:
-
-