Instance Property

handle

The unique identifier that your app assigned to the user.

Declaration

var handle: String? { get }

Discussion

The value of this property is the string that you specified at initialization time. Use this string to identify the user uniquely in your app. For example, you might specify an email address, phone number, or account name associated with the user. Siri may show this string when asking the user to choose from among several people with similar names.

See Also

Getting Identifiying Information

var personHandle: INPersonHandle?

The unique handle that your app assigned to the user.

var image: INImage?

An image of the person.

var isMe: Bool

A Boolean value indicating whether the person is the current user of the device.

var aliases: [INPersonHandle]?

An array of alternate identifiers for the user.

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