The principal class for the Document Picker View Controller extension.
SDKs
- iOS 8.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
@interface UIDocumentPickerExtensionViewController : UIView Controller
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 UIDocument
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.