The user that sent the message.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
Framework
- Intents
Declaration
@NSCopying var sender: INPerson? { get }
Discussion
When creating a new INPerson
object for sender
, use the init(person
method, and set the is
parameter to true
if the sender is also the user of the device.