[
https://issues.apache.org/jira/browse/FLEX-33860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13842087#comment-13842087
]
kevin godell commented on FLEX-33860:
-------------------------------------
I just tested my app with changing stage.displayState at runtime.
application descriptor file:
<fullScreen>false</fullScreen>
ViewNavigatorApplication:
@media (application-dpi: 160) AND (os-platform:"IOS") AND (min-os-version: 7)
{
s|ViewNavigatorApplication {
osStatusBarHeight: 20;
}
App loads fine and has proper alignment of ios7 status bar above the actionbar
without being overlayed. When loading my view that changes stage.displayState
from normal to fullscreen or fullscreeninteractive, ios7 statusbar disappears
but leaves a 20px gap in it's place. After switching back to stage.displayState
normal, then the 20px gap remains between the ios7 statusbar and the actionbar,
making the actionbar top 40px from top of screen. If I rotate the screen
causing it to resize, then the extra 20px gap will disappear causing everything
to line back up and look good again with the statusbar directly above the
actionbar.
fullscreen = true and osStatusBarHeight = 20
Results in my first view with the ios7 statusbar removed and leaving a 20px gap
left in it's place.
fullscreen = true and osStatusBarHeight = 0
Results in my first view with the ios7 statusbar removed and NOT leaving a 20px
gap left in it's place. When going to my next view that changes
stage.displayState to normal, the statusbar appears as it should above the
actionbar and not being overlayed on the actionbar. When I rotate the screen,
the space for the statusbar collapses resulting in it being overlayed directly
on the actionbar.
If any of my statements are not clear, I can upload screenshots. I will also
test any other configuration that you recommend. Thanks.
> Support For iOS7 status bar
> ---------------------------
>
> Key: FLEX-33860
> URL: https://issues.apache.org/jira/browse/FLEX-33860
> Project: Apache Flex
> Issue Type: Bug
> Components: Mobile: ActionBar
> Affects Versions: Apache Flex 4.11.0
> Environment: iOS 7
> Reporter: Keith Lee
> Fix For: Apache Flex 4.12.0
>
>
> iOS 7 now runs everything in full screen, with the status bar being
> transparent, so mobile Flex applications now need a 20px padding at the top
> in order for action bar text to not be obscured by the status bar text and
> symbols.
> * handle the case when softkeyboardBehavior = "pan" and screen in scrolled
> for SKB
--
This message was sent by Atlassian JIRA
(v6.1#6144)