Enumeration

UIDocumentPickerMode

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

Declaration

enum UIDocumentPickerMode : UInt

Topics

Constants

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 exportToService

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

case moveToService

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

See Also

Configuring a Document Picker

var shouldShowFileExtensions: Bool

A Boolean value that determines whether the browser always shows file extensions.

Beta
var documentPickerMode: UIDocumentPickerMode

The type of file transfer operation that the document picker performs.