I am not sure 100%, but it seems that the text of the status bar is still 
displayed in black , and the status bar itself is black, so that's why it does 
not show.

Actually, depending on the background color of your app, you may need to set 
the status bar text color:
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TransitionGuide/Bars.html

In your case, you need to set UIStatusBarStyle to UIStatusBarStyleLightContent

In the     <iPhone>   <InfoAdditions>  section of your AIR configuration file.

Something like:

<InfoAdditions>
            <![CDATA[
            <key>UIDeviceFamily</key>
            <array>
                <!-- iPhone and iPod touch devices -->
                <string>1</string>
                <!-- iPad devices -->
                <string>2</string>
            </array>
            <key>UIStatusBarStyle</key>
           <string> UIStatusBarStyleLightContent </string>
            ]]>
        </InfoAdditions>

Try that and let me know if it works.

Maurice 

-----Message d'origine-----
De : Mathieu St-Gelais [mailto:[email protected]] 
Envoyé : lundi 17 février 2014 15:42
À : [email protected]
Objet : iOS 7 and status bar problem

Hi. First I'd like to say that I have read this thread ( 
https://issues.apache.org/jira/browse/FLEX-33860), but I'm still having 
problems with the status bar under iOS 7.

I'm using Apache Flex nightly builds (4.12), with Air 4.0Beta. Here's a 
screenshot of my application (with lots of blur as it is a private
project):
http://www.evilcodingmonkey.com/wp-content/uploads/2014/02/iOS7-screenshot.jpg

You see the black bar at the top (black because the application's background 
color is set to black)? I suppose I should see the status bar in there, but I 
don't. Any idea why? I have tried removing all CSS, ActionBar skin class, etc.

Thanks for your help!

Mat

Reply via email to