Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

Visibility of iOS status bar after orientation changed

Open caraiz opened this issue 1 year ago • 0 comments

Im testing a NOT fullscreen app in iOS and i think there are some strange behaviour.

start in portrait -> the app not fills the screen (correct) and status bar is visible (correct) then rotate to landscape -> the app fills the screen (correct) and status bar not visible (correct) then rotate to portrait -> the app not fills the screen (correct) and the status bar no visible (fail) then rotate to landscape -> the app fills the screen (correct) and status bar not visible (correct) then rotate to portrait -> the app fills the screen (fail) and the status bar no visible (fail)

start in landscape -> the app fills the screen (correct) and status bar not visible (correct) then rotate to portrait -> the app fills the screen (fail) and status bar no visible (fail) then rotate to landscape -> the app fills the screen (correct) and status bar not visible (correct)

It seems that after enter in landscape mode, it changes the behaviour as fullscreen app. The first landscape to portrait: stage.displayState value is NORMAL (with invisible status bar) The following landscape to portrait: stage.displayState value is FULL_SCREEN_INTERACTIVE

Also i noticed than in Starling the context is lost the first time, i think it never happened before on iOS.

application xml

<initialWindow>
    <aspectRatio>any</aspectRatio>
    <autoOrients>true</autoOrients>
    <fullScreen>false</fullScreen>
</initialWindow>

Tested with

airsdk 33.1.1.889
airsdk 33.1.1.929 

iPhone SE with iOS 14.8
iPhone 12 mini with iOS 15.5

App started in portrait orientation:

01

Rotate to landscape:

02

Back to portrait:

03

caraiz avatar Aug 05 '22 19:08 caraiz