---
title: inConflict
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uidocument/state/inconflict
---

# inConflict

Conflicts exist for the document file located at the file URL.

## Declaration

```swift
static var inConflict: UIDocument.State { get }
```

## Discussion

Discussion You can access these conflicting document versions by calling the otherVersionsOfItem(at:) class method of the NSFileVersion class. This method returns an array of NSFileVersion objects. You can then resolve the conflicting versions — for example, programmatically attempt to merge the versions or present the document versions to a person and request them to pick one.

## See Also

### Constants

- [normal](uikit/uidocument/state/normal.md)
- [closed](uikit/uidocument/state/closed.md)
- [savingError](uikit/uidocument/state/savingerror.md)
- [editingDisabled](uikit/uidocument/state/editingdisabled.md)
- [progressAvailable](uikit/uidocument/state/progressavailable.md)
