Start app in landscape mode locked and later enable autoOrients
Hi!
I want to start my app in landscape mode locked and when an effect finished unlocks autorients to true and the user can change the orientation.of the device.
I have tried few things but i can't get it. My descriptor file contains:
<aspectRatio>landscape</aspectRatio>
<autoOrients>false</autoOrients>
And in my code when the effect is finished:
stage.autoOrients = true
When i play my app in desktop it run but later running it in a phisichal device (playbook) orientation its ever locked.
¿Is posible lock orientation (and force landscape mode) and later unlock orientation?
Thanks so much!
