Modes that define the type of file transfer operation used by the document picker.
SDKs
- iOS 8.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
enum UIDocumentPickerMode : UInt
Modes that define the type of file transfer operation used by the document picker.
SDKs
Framework
enum UIDocumentPickerMode : UInt
case `import`
The document picker imports a file from outside the app’s sandbox.
case open
The document picker opens an external file located outside the app’s sandbox.
case export To Service
The document picker exports a local file to a destination outside the app’s sandbox.
case move To Service
The document picker moves a local file outside the app’s sandbox and provides access to it as an external file.
var should Show File Extensions: Bool
A Boolean value that determines whether the browser always shows file extensions.
var document Picker Mode: UIDocument Picker Mode
The type of file transfer operation that the document picker performs.