You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Maurice Amsellem (JIRA)" <ji...@apache.org> on 2013/11/03 19:52:19 UTC

[jira] [Comment Edited] (FLEX-33860) Need Support For iOS7

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

Maurice Amsellem edited comment on FLEX-33860 at 11/3/13 6:51 PM:
------------------------------------------------------------------

temporary workaround:

Add the following to your main app.mxml:
{code}
<fx:Style>
         @namespace s "library://ns.adobe.com/flex/spark";
         s|ActionBar{
             paddingTop: 20;
  }
</fx:Style>
{code}
Add the following to the app descriptor:
{code}
  <iPhone>
        <InfoAdditions>
            <![CDATA[
....
           <key>UIStatusBarStyle</key>
           <string>UIStatusBarStyleLightContent</string>
....
{code}

Note that this workaround works if your app has only one ActionBar, located at the top.
If this is not the case, you can reset the padding to 0 for the other ActionBars.



was (Author: mamsellem):
temporary workaround:

Add the following to your main app.mxml:
{code}
<fx:Style>
         @namespace s "library://ns.adobe.com/flex/spark";
         s|ActionBar{
             paddingTop: 20;
  }
</fx:Style>
{code}
Add the following to the app descriptor:
{code}
  <iPhone>
        <InfoAdditions>
            <![CDATA[
....
           <key>UIStatusBarStyle</key>
           <string>UIStatusBarStyleLightContent</string>
....
{code}

> Need Support For iOS7
> ---------------------
>
>                 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
>
> 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)