Movatterモバイル変換


[0]ホーム

URL:


Skip to main contentSkip to in-page navigation

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

ContactsUI Namespace

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides standard controllers for interacting with the Contacts store.

Classes

NameDescription
CNContactPicker
CNContactPickerDelegate

This is a class that implements the interfaceICNContactPickerDelegate (for the protocolCNContactPickerDelegate).

Subclass this class to easily create a type that implements the protocol.

An alternative is to create a subclass ofNSObject and then implemented the interfaceICNContactPickerDelegate.

CNContactPickerDelegate_Extensions

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

CNContactPickerViewController

A standardUIViewController that allows the user to select aCNContact from a list of contacts.

CNContactViewController

A standardNSViewController that allows the user to view or edit aCNContact.

CNContactViewControllerDelegate

Delegate object that provides methods relating to viewing or editing a contact with aCNContactViewController.

CNContactViewControllerDelegate_Extensions

Extension methods to theICNContactViewControllerDelegate interface to support all the methods from the CNContactViewControllerDelegate protocol.

Interfaces

NameDescription
ICNContactPickerDelegate

This interface represents the Objective-C protocolCNContactPickerDelegate.

ICNContactViewControllerDelegate

Delegate object that provides methods relating to viewing or editing a contact with aCNContactViewController.

Remarks

The ContactsUI namespace provides two standard controllers: one for choosing a contact (CNContactPickerViewController) and one for displaying a contact's information (CNContactViewController).

In this article