Platforms to show: All Mac Windows Linux Cross-Platform
PHPickerConfigurationMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Photos | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
- 7 properties
- property DisabledCapabilities as Integer
- property Filter as PHPickerFilterMBS
- property Handle as Integer
- property Mode as Integer
- property PreferredAssetRepresentationMode as Integer
- property Selection as Integer
- property SelectionLimit as Integer
- 5 methods
- method Constructor
- method Constructor(PhotoLibrary as Variant)
- method copy as PHPickerConfigurationMBS
- method preselectedAssetIdentifiers as String()
- method setPreselectedAssetIdentifiers(Identifiers() as String)
- 15 constants
Asset Representation Modes
Constant | Value | Description |
---|---|---|
AssetRepresentationModeAutomatic | 0 |
A mode that indicates that the system chooses the appropriate asset representation. |
AssetRepresentationModeCompatible | 2 |
A mode that uses the most compatible asset representation. |
AssetRepresentationModeCurrent | 1 |
A mode that uses the current representation to avoid transcoding, if possible. |
Capabilities
Constant | Value | Description |
---|---|---|
CapabilitiesCollectionNavigation | 4 |
The sidebar or the albums tab. |
CapabilitiesNone | 0 |
No specified capabilities. |
CapabilitiesSearch | 1 |
The search bar. |
CapabilitiesSelectionActions | 8 |
The "Cancel" and the "Add" (if possible) button. |
CapabilitiesSensitivityAnalysisIntervention | 16 |
Show intervention UI explaining potential risks for kids or teens if a sensitive asset is selected. Analysis and intervention will only be performed if "Communications Safety" is enabled in ScreenTime. |
CapabilitiesStagingArea | 2 |
The staging area. |
Modes
Constant | Value | Description |
---|---|---|
ModeCompact | 1 |
Compact picker mode (single row). |
ModeDefault | 0 |
Default picker mode. |
Selection Behavior
Constant | Value | Description |
---|---|---|
SelectionContinuous | 2 |
Selection can be delivered continuously. For macOS 14 and iOS 17 or newer. |
SelectionContinuousAndOrdered | 3 |
Selection can be delivered continuously and uses the selection order made by the user. Selected assets are numbered. For macOS 14 and iOS 17 or newer. |
SelectionDefault | 0 |
Uses the default selection behavior. |
SelectionOrdered | 1 |
Uses the selection order made by the user, numbering the selected assets. |
This class has no sub classes.
Blog Entries
- Picking picture on macOS
- News from the MBS Xojo Plugins Version 23.4
- MBS Xojo Plugins, version 23.2pr1
- The Top 10 from the MBS Xojo Plugins in 2022
- News from the MBS Xojo Plugins Version 22.5
- MBS Xojo Plugins, version 22.5pr1
Release notes
- Version 23.2
- Updated PHPickerConfigurationMBS class and related ones to work on macOS, too.
- Version 22.5
- Added PHPickerViewControllerMBS, PHPickerConfigurationMBS, PHPickerFilterMBS, and PHPickerResultMBS classes.
Some methods using this class:
- PHPickerViewControllerMBS.Constructor(configuration as PHPickerConfigurationMBS)
Some properties using for this class:
- PHPickerViewControllerMBS.configuration as PHPickerConfigurationMBS
Some events using this class:
- DesktopPHPickerControlMBS.Configure as PHPickerConfigurationMBS
- PHPickerControlMBS.Configure as PHPickerConfigurationMBS
Some examples using this class:
- /iOS/Photo Picker/Photo Picker Desktop
- /iOS/Photo Picker/Photo Picker iOS
- /iOS/Photo Picker/PHPickerControl test
Some related classes:
The items on this page are in the following plugins: MBS iOS Plugin.
PHPhotoLibraryMBS - PHPickerFilterMBS
