<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSFileManagerSupportedSyncControls",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSFileManagerSupportedSyncControls"
  },
  "title" : "NSFileManagerSupportedSyncControls"
}
-->

# NSFileManagerSupportedSyncControls

An option set of the sync controls available for an item.

```
struct NSFileManagerSupportedSyncControls
```

## Overview

Get an instance of this type by calling [`resourceValues(forKeys:)`](/documentation/Foundation/URL/resourceValues(forKeys:)) on a [`URL`](/documentation/Foundation/URL) instance (Swift) or [`getResourceValue(_:forKey:)`](/documentation/Foundation/NSURL/getResourceValue(_:forKey:)) on an [`NSURL`](/documentation/Foundation/NSURL) (Swift or Objective-C) and passing in the key [`ubiquitousItemSupportedSyncControlsKey`](/documentation/Foundation/URLResourceKey/ubiquitousItemSupportedSyncControlsKey).

## Topics

### Inspecting supported sync controls

[`NSFileManagerSupportedSyncControlsPauseSync`](/documentation/Foundation/NSFileManagerSupportedSyncControls/pauseSync)

The file provider supports pausing the sync on the item.

[`NSFileManagerSupportedSyncControlsFailUploadOnConflict`](/documentation/Foundation/NSFileManagerSupportedSyncControls/failUploadOnConflict)

The file provider supports failing an upload if the local and server versions conflict.

### Working with raw values

[`init(rawValue:)`](/documentation/Foundation/NSFileManagerSupportedSyncControls/init(rawValue:))

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)