init(forExporting:asCopy:)
Creates and returns a document picker that can export or copy the types of documents you specify.
Declaration
init(forExporting urls: [URL], asCopy: Bool)Parameters
- urls:
An array of documents that the document picker exports or copies.
- asCopy:
A Boolean value that indicates whether the document picker copies the selected document.