Instance Property


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


var allowsMultipleSelection: Bool { get set }


By default, this property is set to false.

See Also

Getting the User-Selected Document

var delegate: UIDocumentPickerDelegate?

An object that adheres to the UIDocumentPickerDelegate protocol.

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 directoryURL: URL?

The initial directory displayed by the document picker.