UIDocumentPickerMBS events

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem