Instance Property

identifier

A value that uniquely identifies a contact on the device.

Declaration

var identifier: String { get }

Discussion

It is recommended that you use the identifier when re-fetching the contact. An identifier can be persisted between the app launches. Note that this identifier only uniquely identifies the contact on the current device.

See Also

Identifying the Contact

var contactType: CNContactType

An enum identifying the contact type.

enum CNContactType

The types a contact can be.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software