Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

PhotoPicker.SetMode

Sets the mode of the picker.

Component Version macOS Windows Linux Server iOS SDK
PhotoPicker 13.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "PhotoPicker.SetMode"; Value )   More

Parameters

Parameter Description Example
Value The new setting.
Pass 0 for default size and 1 for compact style with single row.
1

Result

Returns OK or error.

Description

Sets the mode of the picker.
Only for macOS 14 or iOS 17 or newer. Setting is ignored on older versions.

See also

This function is free to use.

Created 5th September 2023, last changed 5th September 2023


PhotoPicker.SetDisabledCapabilities - PhotoPicker.SetScript

💬 Ask a question or report a problem