Conflicts exist for the document file located at
file. You can access these conflicting document versions by calling the otherVersionsOfItemAtURL: class method of the
NSFile class. This method returns an array of
NSFile objects. You can then resolve the conflicting versions—for example, programmatically attempt to merge the versions or present the document versions to the user and request him or her to pick one.
- iOS 5.0+
- Mac Catalyst 13.0+