O'Reilly logo

Developing iOS Applications with Flex 4.5 by Rich Tretola

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required