public interface CNContactViewControllerDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
contactViewControllerDidCompleteWithContact(CNContactViewController viewController,
CNContact contact)
Called when the view has completed.
|
default boolean |
contactViewControllerShouldPerformDefaultActionForContactProperty(CNContactViewController viewController,
CNContactProperty property)
Called when the user selects a single property.
|
default void contactViewControllerDidCompleteWithContact(CNContactViewController viewController, CNContact contact)
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.
default boolean contactViewControllerShouldPerformDefaultActionForContactProperty(CNContactViewController viewController, CNContactProperty property)
Return @c NO if you do not want anything to be done or if you are handling the actions yourself.