<!--
{
  "availability" : [
    "iOS: 8.0.0 - 14.0.0",
    "iPadOS: 8.0.0 - 14.0.0",
    "macCatalyst: 13.1.0 - 14.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDocumentPickerMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIDocumentPickerMode"
  },
  "title" : "UIDocumentPickerMode"
}
-->

# UIDocumentPickerMode

Modes that define the type of file transfer operation that the document picker uses.

```
enum UIDocumentPickerMode
```

## Topics

### Constants

[`UIDocumentPickerModeImport`](/documentation/UIKit/UIDocumentPickerMode/import)

The document picker imports a file from outside the app’s sandbox.

[`UIDocumentPickerModeOpen`](/documentation/UIKit/UIDocumentPickerMode/open)

The document picker opens an external file outside the app’s sandbox.

[`UIDocumentPickerModeExportToService`](/documentation/UIKit/UIDocumentPickerMode/exportToService)

The document picker exports a local file to a destination outside the app’s sandbox.

[`UIDocumentPickerModeMoveToService`](/documentation/UIKit/UIDocumentPickerMode/moveToService)

The document picker moves a local file outside the app’s sandbox and provides access to it as an external file.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)