Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- iOSApp.GetOrientationDidChangeEvaluate
- iOSApp.GetOrientationDidChangeScript
- iOSApp.SetOrientationDidChangeScript
- iOSDevice.Orientation
Release notes
- Version 13.4
Blog Entries
This function checks for a license.
Created 19th July 2023, last changed 27th August 2023
iOSApp.SetIdleTimerDisabled - iOSApp.SetOrientationDidChangeScript