Instance Property


The identifier associated with a user record in the Contacts database.


@property(readonly, copy, nonatomic) NSString *contactIdentifier;


The identifier of the CNContact object associated with the user. The value of this property is specified automatically at initialization time and can’t be changed later.

If the user denied your app access to the Contacts database, this property is always nil. Not having access to the user’s Contacts can prevent an intent from including data related to contacts. For example, if the user tries to book a ride home, the intent may derive information about the user’s home from the Contacts database.

See Also

Getting Person-Related Identifiers


The custom identification string that your app uses to identify the user.