---
title: intent
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsextensioncontext/intent
---

# intent

Metadata for populating your share extensions interface.

## Declaration

```swift
var intent: INIntent? { get }
```

## Mentioned in

Supporting suggestions in your app’s share extension

## Discussion

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. note: To learn more about adding a share extension to the list of suggested apps, read Supporting suggestions in your app’s share extension.
