<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/ControlInfo/configurationIntent(of:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit11ControlInfoV19configurationIntent2ofxSgxm_t10AppIntents0c13ConfigurationF0RzlF"
  },
  "title" : "configurationIntent(of:)"
}
-->

# configurationIntent(of:)

Gets the associated App Intent.

```
func configurationIntent<Intent>(of intentType: Intent.Type = Intent.self) -> Intent? where Intent : ControlConfigurationIntent
```

## Parameters

`intentType`

The expected type for the App Intent.

## Return Value

An App Intent that contains the user-edited values or nil
if there is no associated App Intent or the type does not match `intentType`.

---

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)