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

Maurice Amsellem commented on FLEX-33860:
-----------------------------------------

h4. Fix Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/66b54261

h4. Feature description:
spark Application has new style: *osStatusBarHeight*
osStatusBarHeight is set in mobile defaults.css for iOS7 only, using the new 
*os-version* media css selector.
(see FLEX-33949 )

Example for 160 DPI (iPad 2)

{code}
@media (application-dpi: 160) AND (os-platform:"IOS") AND (min-os-version: 7)
{
    Application {
         osStatusBarHeight: 20;
    }
}
{code}

Note: the current implementation applies to the following skins:
* skins.spark.ApplicationSkin
 * spark.skins.mobile.TabbedViewNavigatorApplicationSkin
 * spark.skins.mobile.ViewNavigatorApplicationSkin

And leaves space for the status bar *outside* of the application content (skin 
contentGroup).  
The top ActionBar's padding, when there is one,  is not modified.

> 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
>            Assignee: Maurice Amsellem
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to