Instance Method


Tells the delegate that the user canceled the document picker.


optional func documentPickerWasCancelled(_ controller: UIDocumentPickerViewController)



The document picker that called this method.

See Also

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.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software