Automatically Reorient
This option is set to true automatically, unless you uncheck the box during your project creation. Setting this to true will allow the device to use its accelerometer to automatically switch between portrait and landscape.
This property can be edited at any time within the application’s configuration file. This setting can also be changed programmatically while the application is running. See Chapter 5 for more information on this:
<autoOrients>false</autoOrients>
Get Developing iOS Applications with Flex 4.5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.