contactIdentifier

contactIdentifier

contactIdentifier Instance Property of INPerson The Contacts database identifier for the person.

var contactIdentifier: String? { get }

Discussion

Important: When donating instances of `doc://com.apple.sirikit/documentation/Intents/INSendMessageIntent`, specify a value for this property for each recipient. This enables Siri to choose and interact with the appropriate messaging app when a person asks to send a message.

If your app doesn’t have permission to access the Contacts database, this property returns nil. Otherwise, it returns the value you specify when creating the person.