<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ControlWidgetConfiguration/promptsForUserConfiguration()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI26ControlWidgetConfigurationP0D3KitE014promptsForUserE0QryF"
  },
  "title" : "promptsForUserConfiguration()"
}
-->

# promptsForUserConfiguration()

Specifies that a control’s configuration UI should be automatically presented after the widget is added.

```
@MainActor @preconcurrency func promptsForUserConfiguration() -> some ControlWidgetConfiguration
```

## Return Value

A control configuration that knows whether the presentation of a configuration UI is preferred.

---

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)