Rotating Screen Orientation

Hi,

I was just reviewing the Corona SDK, i have a question regarding rotating the orientation of the screen.

Is it possible to lock the screen in portrait orientation then in the code, when an event occurs, rotate the screen to landscape?

Thanks,

Michael

Hi @michaelwain1990,

Can you be more specific on what type of “event” would trigger the screen rotation? Some event within the code? Some on-screen button or object tapped?

Thanks,

Brent

Hi Brent,

It would be some event in the code which would trigger the rotation of the screen.

Is this possible?

Thanks

If you UI elements were able to display differently you could call that change from a real orientation change or a manual change anytime you like. 

Hi @michaelwain1990,

Can you be more specific on what type of “event” would trigger the screen rotation? Some event within the code? Some on-screen button or object tapped?

Thanks,

Brent

Hi Brent,

It would be some event in the code which would trigger the rotation of the screen.

Is this possible?

Thanks

If you UI elements were able to display differently you could call that change from a real orientation change or a manual change anytime you like.