Instance Property

contactRelations

An array of labeled contact relations for the contact.

Declaration

var contactRelations: [CNLabeledValue<CNContactRelation>] { get set }

Discussion

This property is an array of CNLabeledValue objects, each of which has a label and a CNContactRelation value.

See Also

Relating Other Information to the Contact

var instantMessageAddresses: [CNLabeledValue<CNInstantMessageAddress>]

An array of labeled IM addresses for the contact.

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