Update:  according to kevin godell  (see JIRA),  the bug was fixed in AIR 4.0 
beta.
Good news.

I am going to download AIR 4.0 and check by myself.

-----Message d'origine-----
De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] 
Envoyé : dimanche 8 décembre 2013 23:53
À : dev@flex.apache.org
Objet : iOS7 status bar 

Hi team,

I am working again on FLEX-33860 (support of iOS7 status bar).

Users has reported an issue when programmatically setting the stage to full 
screen (stage.displayState = fullScreen), the status bar gap was not removed 
And when setting back the stage to normal, the status bar gap was added twice.

I have fixed that  (by listening to stage.fullScreen event) so now the gap is 
correctly removed when switching to full screen. (not yet committed) However, 
the second issue is still there, and it seems to me that this is an AIR bug, 
not a Flex one:
On IOS7, since the status bar is now part of the app, AIR sets the stage to 
full screen (eg 1024x 768 for iPad2) at startup, even if the app is not "full 
screen".
However, when forcing the stage to fullscreen, then back to normal, AIR removes 
the status bar height from stage height (stage height = 748 of iPAD2) But then 
if you rotate the ipad 180°,  height is again set to full screen (eg. 768).

The normal behavior for AIR on iOS7 should be not the resize the stage when 
changing stage.displayState, but only showing/hiding the status bar.

What do you think?

Should I commit my fix although it doesn't work (because of AIR bug)?
Raise a JIRA at adobe ?

Note: AIR 4.0 beta seems to have the issue...

Thanks

Maurice Amsellem
SYSTAR R&D - BusinessBridgeFX

Reply via email to