Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

AIR BUG: setting autoOrients = false... no longer works on launch! (iOS)

$
0
0

Newly discovered problem with AIR and iOS.... autoOrients is no longer working when launching an iPhone app.

 

Specifics:

 

1. Allow auto orientation via app descriptor (I'm doing via Flash Pro CS6).

 

2. In "main.as", progromatically set autoOrients  = "false." (I do this for iPhone, as having orientation set to true in app descriptor allows multiple iPad launch orientation scenarios)

 

3. PROBLEM:  If iPhone is held in landscape mode on launch, app will auto rotate to landscape even with autoOrients set to false. (Portrait should be the default mode for iPhone).

 

 

Never had this problem with autoOrients before. Can anyone confirm?

 

Tried 3.6, 3.7. iOS 5 for iPhone 4S & iOS 6 for iPad.


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>