Freeze Device Orientation change

Would like a quick boolean variable or function to freeze the automatic orientation change that corona does when you support multiple orientations (landscape,portrait)

Consider you mite be using an app in bed and your head is sideways and the game is the orientation of your head, but the device will force it to earths orientation forcing you to play it sideways. [import]uid: 88628 topic_id: 30222 reply_id: 330222[/import]

I suspect this would likely cause problems for certain apps during the approval process if the reviewer was thorough - that said, the user can lock the orientation themselves when in bed using their phone. [import]uid: 52491 topic_id: 30222 reply_id: 121123[/import]

I’ve resolved this by not supporting “portraitUpsideDown”, as my default view is landscape, the screen locks when you tilt it past landscape mode in one direction. Just like the apple Notes app. [import]uid: 88628 topic_id: 30222 reply_id: 121544[/import]

Oooh - nice solution. Thanks for updating :slight_smile: [import]uid: 52491 topic_id: 30222 reply_id: 121582[/import]

I suspect this would likely cause problems for certain apps during the approval process if the reviewer was thorough - that said, the user can lock the orientation themselves when in bed using their phone. [import]uid: 52491 topic_id: 30222 reply_id: 121123[/import]

I’ve resolved this by not supporting “portraitUpsideDown”, as my default view is landscape, the screen locks when you tilt it past landscape mode in one direction. Just like the apple Notes app. [import]uid: 88628 topic_id: 30222 reply_id: 121544[/import]

Oooh - nice solution. Thanks for updating :slight_smile: [import]uid: 52491 topic_id: 30222 reply_id: 121582[/import]