Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Returns the physical orientation of the device.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
iOSDevice 7.2 No No No No Yes

MBS( "iOSDevice.Orientation" )




Returns value or error.


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.

iOSDevice.Name   -   iOSDevice.OrientationIsLandscape

Feedback: Report problem or ask question.

MBS Xojo Plugins