UIDocumentState UIDocumentState Enum


An enumeration indicating the editing/saving state of a UIDocument.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIDocumentState
type UIDocumentState = 


Closed Closed 1

Either the document did not open successfully or has been closed.

EditingDisabled EditingDisabled 8

The document is busy and the application developer must not allow the application user to introduce changes.

InConflict InConflict 2

A conflict exists. The application developer should resolve these by examining the results of GetOtherVersions(NSUrl).

Normal Normal 0

The UIDocument is open, editing is allowed, and there are no detected conflicts.

ProgressAvailable ProgressAvailable 16

Indicates the progress information is available for the downloading document.

SavingError SavingError 4

Something has interfered with the proper saving of the UIDocument.

Applies to

See also