Protocol

UIDocumentPickerDelegate

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

Topics

Responding to User Actions

func documentPicker(UIDocumentPickerViewController, didPickDocumentsAt: [URL])

Tells the delegate that the user has selected one or more documents.

func documentPicker(UIDocumentPickerViewController, didPickDocumentAt: URL)

Tells the delegate that the user has selected a document or a destination.

Deprecated
func documentPickerWasCancelled(UIDocumentPickerViewController)

Tells the delegate that the user canceled the document picker.

Relationships

Inherits From

See Also

Getting the User-Selected Document

var delegate: UIDocumentPickerDelegate?

The document picker’s delegate.

var allowsMultipleSelection: Bool

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