Air 3.5 & ios 6 - StageOrientation events firing only up&down
Recently updated my iOS app to use AIR 3.5 sdk - noticed my app wouldn't auto-orient sideways anymore. Only a complete flip would trigger stageOrientationChange events.
In the app-descriptor xml I had the line
After deleting this, auto-orientation worked in every direction again.
The behaviour is intentional, see:
http://blogs.adobe.com/airodynamics/2012/05/22/stage-aspectratio-enhancements/
In the app-descriptor xml I had the line
<aspectRatio>portrait</aspectRatio>
After deleting this, auto-orientation worked in every direction again.
The behaviour is intentional, see:
http://blogs.adobe.com/airodynamics/2012/05/22/stage-aspectratio-enhancements/
Kommentare
Kommentar veröffentlichen