UIDocument class is the principal class for the Document Picker View Controller 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.
- iOS 8.0+
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.
For more information on creating Document Picker extensions, see Document Provider.