• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

Participant ,
Feb 12, 2016 Feb 12, 2016

Copy link to clipboard

Copied

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.

TOPICS
Development

Views

331

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines