<!--
{
  "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/View/controlWidgetStatus(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewP9WidgetKitE07controlD6StatusyQr10Foundation23LocalizedStringResourceVF::OverloadGroup"
  },
  "title" : "controlWidgetStatus(_:)"
}
-->

# controlWidgetStatus(_:)

The status of the control described by the modified label.

```
@MainActor @preconcurrency func controlWidgetStatus(_ status: LocalizedStringResource) -> some View
```

## Parameters

`status`

The localized string resource to display.

## Discussion

This text appears in Control Center when your control’s state
changes. You can customize the text by applying this modifier to the
control’s value label:

```
// Status Text: "Do Not Disturb Until This Evening" / "Do Not Disturb Disabled"
ControlWidgetToggle("Do Not Disturb", ...) { isOn in
    Image(systemName: "moon")
        .controlWidgetStatus(isOn ? "Do Not Disturb Until This Evening" : "Do Not Disturb Disabled")
}
```

---

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)