Platforms to show: All Mac Windows Linux Cross-Platform

Back to UIDocumentPickerMBS class.

UIDocumentPickerMBS.documentPickerDidPickDocuments(URLs() as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Navigation MBS iOS Plugin 22.3 ❌ No ❌ No ❌ No ✅ Yes
Event called when documents were picked.

The array may have one or more URLs.

The meaning of the provided URLs varies depending on the document picker’s mode:

Import:
The URLs refer to a copy of the selected documents. These documents are temporary files. They remain available only until your application terminates. To keep a permanent copy, move these files to a permanent location inside your sandbox.

Open:
The URLs refer to the selected documents.

ExportToService:
The URLs refer to new copies of the exported documents at the selected destination.

MoveToService:
The URLs refer to the documents' new locations.
The provided URLs are security-scoped, referring to files outside your app’s sandbox. For more about working with external, security-scoped URLs, see Requirements in the Document Picker Programming Guide.

Some examples using this event:

UIDocumentPickerMBS.documentPickerWasCancelled

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Navigation MBS iOS Plugin 22.3 ❌ No ❌ No ❌ No ✅ Yes
The user canceled the document picker.

Some examples using this event:

The items on this page are in the following plugins: MBS iOS Plugin.


The biggest plugin in space...