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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software