<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDocument/State/editingDisabled",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIDocumentState@UIDocumentStateEditingDisabled"
  },
  "title" : "editingDisabled"
}
-->

# editingDisabled

The document is busy and it isn’t currently safe for user edits.

```
static var editingDisabled: UIDocument.State { get }
```

## Discussion

This state is set just before [`UIDocument`](/documentation/UIKit/UIDocument) calls the [`disableEditing()`](/documentation/UIKit/UIDocument/disableEditing()) method. It calls [`enableEditing()`](/documentation/UIKit/UIDocument/enableEditing()) when it becomes safe to edit again. [`UIDocument`](/documentation/UIKit/UIDocument) also sets this state when an error prevents the reverting of a document.

---

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)