suggestionType

suggestionType

suggestionType Instance Property of INPerson The type of contact information to donate with interactions.

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.