[ 
https://issues.apache.org/jira/browse/FLEX-33860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13842701#comment-13842701
 ] 

kevin godell commented on FLEX-33860:
-------------------------------------


I noticed something when deploying my app to an iPod running iOS 6.1.5. The 
osStatusBarHeight of 20px was added in between the statusbar and actionbar, 
creating a gap. I thought that the statusbar placeholder was only for iOS7. I 
then tried to add some css to take advantage of the 
max-os-version/min-os-version but had no luck. The devices running ios6 and 
ios7 still both had the 20px statusbar placeholder. ios 7 looking good, and 
ios6 having an extra unwanted gap. 
@media (application-dpi: 160) AND (os-platform:"IOS") AND (max-os-version: 6.5)
{
        s|ViewNavigatorApplication {
                osStatusBarHeight: 0;
        }
}
@media (application-dpi: 160) AND (os-platform:"IOS") AND (min-os-version: 7.0)
{
        s|ViewNavigatorApplication {
                osStatusBarHeight: 20;
        }
}

Flex 4.12 nightly and air 4.

> 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)

Reply via email to