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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

iOSDevice.Orientation

Returns the physical orientation of the device.

Component Version macOS Windows Linux Server iOS SDK
iOSDevice 7.2 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "iOSDevice.Orientation" )

Parameters

none

Result

Returns value or error.

Description

Returns the physical orientation of the device.
The value of the property is a constant that indicates the current orientation of the device. This value represents the physical orientation of the device and may be different from the current orientation of your application’s user interface.
Value can be Portrait, PortraitUpsideDown, LandscapeLeft, LandscapeRight, FaceUp, FaceDown or Unknown.

See also

Created 18th March 2017, last changed 18th March 2017


iOSDevice.Name - iOSDevice.OrientationIsLandscape

Feedback: Report problem or ask question.