<!--
{
  "availability" : [
    "macOS: 10.10.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "NotificationCenter",
  "identifier" : "/documentation/NotificationCenter/NCWidgetProviding/widgetAllowsEditing",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Notification Center"
    ],
    "preciseIdentifier" : "c:objc(pl)NCWidgetProviding(py)widgetAllowsEditing"
  },
  "title" : "widgetAllowsEditing"
}
-->

# widgetAllowsEditing

A Boolean value indicating whether the widget can be edited by users.

```
optional var widgetAllowsEditing: Bool { get }
```

## Discussion

When a widget that supports editing sets this property to <doc://com.apple.documentation/documentation/Swift/true>, it automatically gets a system-provided button in its header area that users choose to begin or end editing. The default value of this property is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)