Instance Property


An object that adheres to the UIDocumentPickerDelegate protocol.


weak var delegate: UIDocumentPickerDelegate? { get set }


The delegate must adopt the UIDocumentPickerDelegate protocol.

See Also

Getting the User-Selected Document

protocol UIDocumentPickerDelegate

A set of methods that you implement to track when the user selects a document or destination, or to track when the operation is canceled.

var allowsMultipleSelection: Bool

A Boolean value that determines whether the user can select more than one document at a time.

var directoryURL: URL?

The initial directory displayed by the document picker.