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

Incorrect Orientation of status bar on ios 8+ when aspect ratio of application is changed.

$
0
0

Hi All,

 

I have an application which supports both aspect ratio i.e LANDSCAPE and PORTRAIT. For some of the screen I need to set the orientation to PORTRAIT ONLY. To achieve this I have used :

 

stage.setAspectRatio(StageAspectRatio.PORTRAIT);

 

This change the orientation of application to portrait correctly and lock the orientation in portrait mode and is working correctly as per the requirement. Now when this code is used though application's aspect ratio is changed to portrait, but status bar orientation remain in LANDSCAPE mode.

 

Due to this when softkeyboard is opened it is opened in incorrect orientation. Please see image below:

 

IMG_0797.PNG

 

Below is code from descriptor file :

 

<aspectRatio>any</aspectRatio>

<renderMode>auto</renderMode>

<autoOrients>true</autoOrients>

<fullScreen>true</fullScreen>

<visible>true</visible>

<softKeyboardBehavior>none</softKeyboardBehavior>

 

This issue is not observed when running on ios version lower than 8. I am using flex 4.14.1 and AIR 19.0 version.

 

Please suggest what I can do to resolve this.


Viewing all articles
Browse latest Browse all 2954

Trending Articles



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