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.

NameValueDescription
None0No specified capabilities.
Search1The search bar.
StagingArea2The staging area.
CollectionNavigation4The sidebar or the albums tab.
SelectionActions8The "Cancel" and the "Add" (if possible) button.
SensitivityAnalysisIntervention16Show 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


PhotoPicker.Present - PhotoPicker.SetMode