Platforms to show: All Mac Windows Linux Cross-Platform

Back to PHPickerConfigurationMBS class.

PHPickerConfigurationMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes Desktop & iOS
Creates a new configuration object.

This configuration doesn’t return asset identifiers. To create configuration object with the system photo library use the other constructor.

See also:

PHPickerConfigurationMBS.Constructor(PhotoLibrary as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes Desktop & iOS
Creates a new configuration object for a photo library.

photoLibrary: The library from which to pick photos and videos.

Please pass a PHPhotoLibraryMBS class.

See also:

PHPickerConfigurationMBS.copy as PHPickerConfigurationMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes Desktop & iOS
Creates a copy of the configuration object.

PHPickerConfigurationMBS.preselectedAssetIdentifiers as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes Desktop & iOS
An array of asset identifiers to preselect in the picker.

PHPickerConfigurationMBS.setPreselectedAssetIdentifiers(Identifiers() as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes Desktop & iOS
Sets an array of asset identifiers to preselect in the picker.

Preselection works only when initializing a PHPickerConfigurationMBS object with a photo library. Otherwise, the system returns an error.

The number of preselected asset identifiers can exceed your selection limit. The system disables the done action until the selection count is lower than selectionLimit.
Additionally, when you configure a picker with preselected identifiers:
Results include all preselected identifiers when canceling the picker.
Results don’t include item providers for preselected assets that remain selected.
When deselecting all assets, the system keeps the done action enabled.

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


The biggest plugin in space...