Instance Property

documentPickerMode

The document picker’s file-transfer operation. (read-only)

Declaration

var documentPickerMode: UIDocumentPickerMode { get }

Discussion

For a list of available modes, see Document Picker Modes in UIDocumentPickerViewController.

See Also

Managing the User Interface

func dismissGrantingAccess(to: URL?)

Dismisses the document picker.

var documentStorageURL: URL?

The root URL for documents provided by the corresponding File Provider extension. (read-only)

var originalURL: URL?

The URL of the file to be exported. (read-only)

func prepareForPresentation(in: UIDocumentPickerMode)

Performs any custom configuration of the document picker view controller.

var providerIdentifier: String

An identifier shared by this Document Picker extension and its corresponding File Provider extension. (read-only)

var validTypes: [String]?

An array of valid uniform type identifiers.