[Flex] flex手机项目如何限制横竖屏?只允许横屏?

flex手机项目如何限制横竖屏?只允许横屏?   有人知道吗?求教。。
工程中 xxx-app.xml 找到</aspectRatio> 去掉注释 修改为<aspectRatio>landscape</aspectRatio>

另外要把<autoOrients>true</autoOrients> 改成false,就不会自动旋转了

亲测可用

原文地址:https://www.cnblogs.com/jiahuafu/p/4791024.html