Instance Property

intent

Metadata for populating your share extensions interface.

Declaration

var intent: INIntent? { get }

Discussion

When the user selects an app from the list of suggested apps in iOS’s share sheet, this property contains metadata that you can use to populate your share extensions interface. The source for the metadata is the INSendMessageIntent of your messaging app.

This property is nil if your app’s share extension wasn’t launched from the list of suggested apps.