Chapter 3. Configuration Settings

When creating an iOS application, there are several configuration settings available for iOS Flex applications.

Configuration Settings

When creating a new Flex Mobile application, there are a few additional settings that you can configure. These include “Automatically reorient”, “Full Screen”, and “Automatically scale application for different screen densities”. Figure 3-1 shows these options.

Additional configuration settings
Figure 3-1. Additional configuration settings

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>

Full Screen

Checking this box during your project creation will force your application to launch in full screen mode. By default. this is set to false.

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:

<fullScreen>false</fullScreen>

Automatically Scale Application for Different Screen ...

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.