TechnologiesCommunication, Contacts & Messaging

ContactsUI

iOSmacOStvOSwatchOSvisionOS

ContactsUI provides ready-made view controllers for picking, viewing, and editing the contacts in a user's address book on iOS, macOS, and visionOS. Present a CNContactPickerViewController to let people select one or more contacts, and respond to their choices through CNContactPickerDelegate. Use CNContactViewController to display or edit an individual contact's details, handling the resulting actions with CNContactViewControllerDelegate.

Picking Contacts 2

Present a contact picker and respond to the user's selections.

  • Cl
    CNContactPickerViewControlleriOS 9.0+
    @abstract The CNContactPickerViewController allows the user to select one or multiple contacts or properties.
  • Pr
    CNContactPickerDelegateiOS 9.0+
    An interface for responding to the contacts or properties a person selects in a contact picker.

Viewing and Editing Contacts 2

Display or edit an individual contact and handle the resulting actions.

  • Cl
    CNContactViewControlleriOS 9.0+
    @abstract The @c CNContactViewController is used to display a contact.
  • Pr
    CNContactViewControllerDelegateiOS 9.0+
    An interface for responding to actions a person takes while viewing or editing a contact.

Classes 1

  • Cl
    CNContactSavedAutoFillDetailsControlleriOS 27+
    A controller that manages "Saved AutoFill Details" visibility logic for a contact card.

Structures 1

  • St
    ContactAccessButton

Extends 3

UIApplicationShortcutIconCNMutableContactView
← Communication, Contacts & Messaging