Instance Property

contactRelations

An array of labeled relations for the contact.

Declaration

iOS, Mac Catalyst, watchOS
@property(readonly, copy, nonatomic) NSArray<CNLabeledValue<CNContactRelation *> *> *contactRelations;
macOS
@property(readonly, copy, atomic) NSArray<CNLabeledValue<CNContactRelation *> *> *contactRelations;

Discussion

This property is an array of CNLabeledValue objects, each of which has a label and a CNContactRelation value. This property was previously known as related names.

See Also

Getting Related Information

instantMessageAddresses

An array of labeled IM addresses for the contact.