Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PhotoPicker.SetDisabledCapabilities
Sets which Capabilities of the picker that should be disabled.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PhotoPicker | 13.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "PhotoPicker.SetDisabledCapabilities"; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Value | The new setting. Combine values from table with plus operator. |
2+4 |
Result
Returns OK or error.
Description
Sets which Capabilities of the picker that should be disabled.Only for macOS 14 or iOS 17 or newer. Setting is ignored on older versions.
Name | Value | Description |
None | 0 | No specified capabilities. |
Search | 1 | The search bar. |
StagingArea | 2 | The staging area. |
CollectionNavigation | 4 | The sidebar or the albums tab. |
SelectionActions | 8 | The "Cancel" and the "Add" (if possible) button. |
SensitivityAnalysisIntervention | 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. |
See also
Blog Entries
This function is free to use.
Created 5th September 2023, last changed 5th September 2023