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  

iOSApp.SetOrientationDidChangeEvaluate

Sets the expression to be evaluated when device is rotated.

Component Version macOS Windows Linux Server iOS SDK
iOSApp 13.4 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "iOSApp.SetOrientationDidChangeEvaluate"; Expression )   More

Parameters

Parameter Description Example
Expression The expression to evaluate.

Result

Returns OK or error.

Description

Sets the expression to be evaluated when device is rotated.

Examples

Set $$orientation whenever orientation changes:

Set Variable [$r; Value: MBS( "iOSApp.SetOrientationDidChangeEvaluate"; "LET([$$orientation = MBS( \"iOSDevice.Orientation\" )];0)" )]

See also

Release notes

Blog Entries

This function checks for a license.

Created 19th July 2023, last changed 27th August 2023


iOSApp.SetIdleTimerDisabled - iOSApp.SetOrientationDidChangeScript

💬 Ask a question or report a problem