<autoOrients>

(Optional) Whether the orientation of the content in the application automatically changes as the user changes the physical orientation of the device

Parent elements:

<initialWindow>

Child elements:

None.

Description:

The <autoOrients> element specifies whether the orientation of content in the application automatically reorients as the device itself changes physical orientation.

Content:

A CDATA value representing whether the application automatically orients itself. You can use the following values:

true
The application orients itself.
false
The applications does not reorient itself.

Attributes:

None.

Example:

 <initialWindow>
     <aspectRatio>landscape</aspectRatio>
     <autoOrients>false</autoOrients>
     <systemChrome>none</systemChrome>
     <transparent>true</transparent>
 </initialWindow>                      
                    
comments powered by Disqus