<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSExtensionContext/intent",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSExtensionContext(py)intent"
  },
  "title" : "intent"
}
-->

# intent

Metadata for populating your share extensions interface.

```
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 <doc://com.apple.documentation/documentation/Intents/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 <doc://com.apple.foundation/documentation/Foundation/supporting-suggestions-in-your-app-s-share-extension>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)