mobileSetAllowedOrientations | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | iphonesetallowedorientations | ||||||
Summary | Set the list of allowed orientations. | ||||||
Introduced | 4.5.3 | ||||||
OS | ios, android | ||||||
Platforms | mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Command: mobileLockOrientation, mobileUnlockOrientation, mobileSetFullScreenRectForOrientations Function: mobileAllowedOrientations, mobileDeviceOrientation, mobileOrientation Message: orientationChanged | ||||||
Description | Use the mobileSetAllowedOrientations command to set the currently allowed orientations. Use the mobileSetAllowedOrientations command to configure which orientations the application supports. The setting take affect the next time an orientation change is applied. The interface orientation only changes if the new orientation is among the configured list.
|