An object that represents a property of a contact.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- watchOS 2.0+
A contact (that is, an instance of
CNContact) has properties, such as
job. Each property is represented by an instance of
CNContact, which provides a tuple that can contain three or five values, depending on whether the property is a member of an array of labeled values. For example, the
phone property is a member of an array of labeled values, so the
CNContact tuple contains the contact, key, value, identifier, and label. For the
given property, which is not contained in a labeled array,
CNContact returns a tuple that contains the contact, key, and value. The
CNContact class is used by
CNContact to return the user's selected property.