Contents

UIDocumentPickerExtensionViewController

The principal class for the Document Picker View Controller extension.

Declaration

@MainActor class UIDocumentPickerExtensionViewController

Overview

The Document Picker View Controller extension can perform import and export operations on its own. If you want to support open and move operations, you must pair it with a File Provider extension.

When creating a Document Picker extension, you must subclass UIDocumentPickerExtensionViewController to provide the document picker’s user interface. Your subclass presents a list of available documents and destinations to the user. When the user makes a selection, you trigger the file transfer and pass the selected URL back to the host app.

For more information on creating Document Picker extensions, see Document Provider.

Topics

Managing the user interface

See Also

Document provider