TechnologiesCommunication, Contacts & Messaging

AddressBookUI

iOSmacOStvOSwatchOSvisionOS

AddressBookUI provides a set of legacy UIKit view controllers for picking, viewing, and creating address book contacts on iOS. Present ABPeoplePickerNavigationController to let users choose an existing contact, ABPersonViewController to display a contact's details, and ABNewPersonViewController or ABUnknownPersonViewController to create or resolve a contact record. Each controller reports the user's selections and actions back to your app through its companion delegate protocol, such as ABPeoplePickerNavigationControllerDelegate and ABPersonViewControllerDelegate.

Picking Contacts 2

Present a navigation interface that lets the user choose an existing contact from the address book.

  • Cl
    ABPeoplePickerNavigationController
    A navigation controller that lets the user select a contact or contact property from the address book.
  • Pr
    ABPeoplePickerNavigationControllerDelegate
    A protocol that reports the contact or property the user selects in a people picker.

Viewing a Contact 2

Display the details of an existing contact record.

  • Cl
    ABPersonViewController
    A view controller that displays the details of an existing address book contact.
  • Pr
    ABPersonViewControllerDelegate
    A protocol that handles user interaction with properties shown in a contact's details view.

Creating a Contact 2

Collect information from the user to create a new contact record.

  • Cl
    ABNewPersonViewController
    A view controller that prompts the user to create a new contact record in the address book.
  • Pr
    ABNewPersonViewControllerDelegate
    A protocol that reports when the user finishes or cancels creating a new contact.

Resolving an Unknown Contact 2

Present partial contact data and let the user add it to an existing or new contact.

  • Cl
    ABUnknownPersonViewController
    A view controller that presents partial contact data so the user can add it to an existing or new contact.
  • Pr
    ABUnknownPersonViewControllerDelegate
    A protocol that reports the contact the user resolves from unknown person data.
← Communication, Contacts & Messaging