Instance Property

suggestionType

The type of contact information to donate with interactions.

Declaration

var suggestionType: INPersonSuggestionType { get }

Discussion

When donating interactions involving a person, the system uses this property to determine how to surface the user’s identity. For example, an app might prefer to display the person’s social media profile name rather than their real name.

If you use the init(personHandle:nameComponents:displayName:image:contactIdentifier:customIdentifier:) method to create the person object, interactions reflect the person’s name, instead of the name of a social media or instant messaging account.

See Also

Getting Other Information

enum INPersonSuggestionType

Constants indicating how to display the person’s identity.