mobileDeviceOrientation | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | iphonedeviceorientation | ||||||
Summary | Returns the current device orientation. | ||||||
Introduced | 4.5.2 | ||||||
OS | ios, android | ||||||
Platforms | mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Command: mobileSetAllowedOrientations, mobileLockOrientation, mobileUnlockOrientation Function: mobileAllowedOrientations, mobileOrientation Message: orientationChanged | ||||||
Description | Use the mobileDeviceOrientation function to find the current device orientation. The mobileDeviceOrientation function returns the current orientation of the device.
|