Search code examples
ios7ibm-mobilefirststatusbar

Worklight showIOS7StatusBar


I am running the Worklight IDE Version 6.0.0.20130926-1933. I have tried disabling the ios7 top status bar as per the Worklight technote found here:

http://www-01.ibm.com/support/docview.wss?uid=swg27039574

I have set in the initOptions.js file

var wlInitOptions = {
    
    // # Should application automatically attempt to connect to Worklight Server on application start up
    // # The default value is true, we are overriding it to false here.
    connectOnStartup : true,
    showIOS7StatusBar : false,

However, when I load my app I still see the statusBar displayed on my iOS7 devices. Is there some other change I need to make to my code? Note: I don't have access to xCode and I am using a company tool to build the ipa file. Thanks!

JT


Solution

  • You can also change it in the {AppName}-Info.plist in your IOS native directory

    <key>UIViewControllerBasedStatusBarAppearance</key>
        <false/>
        <key>UIStatusBarHidden</key>
        <true/>