NSFileManagerResumeSyncBehavior
The behaviors the file manager can apply to resolve conflicts when resuming a sync.
Declaration
enum NSFileManagerResumeSyncBehaviorOverview
You use this type when calling resumeSyncForUbiquitousItem(at:with:completionHandler:) to resume synchronizing. In most situations, the NSFileManagerResumeSyncBehavior.preserveLocalChanges behavior is the best choice to avoid risk of data loss.
Topics
Identifying sync behaviors
NSFileManagerResumeSyncBehavior.preserveLocalChangesNSFileManagerResumeSyncBehavior.afterUploadWithFailOnConflictNSFileManagerResumeSyncBehavior.dropLocalChanges
Working with raw values
See Also
Controlling file provider synchronization
NSFileManagerSupportedSyncControlspauseSyncForUbiquitousItem(at:completionHandler:)resumeSyncForUbiquitousItem(at:with:completionHandler:)fetchLatestRemoteVersionOfItem(at:completionHandler:)NSFileVersionuploadLocalVersionOfUbiquitousItem(at:withConflictResolutionPolicy:completionHandler:)NSFileManagerUploadLocalVersionConflictPolicy