Please use https://github.com/phonegap-build/StatusBarPlugin
Change the style of the status bar in iOS, in any instance of your app. You can show it, hide it, change the tint to white or black. All transitions are animated. Cordova 3.+ compatible.
- run 'cordova plugin add https://github.com/patrickheneise/cordova-ios-statusbar.git'
- In Xcode 5 edit your app plist file set "View controller-based status bar appearance" to NO
##How it works
statusbar = plugins.statusBar;
statusbar.hide();
statusbar.show();
statusbar.whiteTint();
statusbar.blackTint();
It's as simple as that. Have fun.
copyright 2013-2014 patrick heneise
licensed under the apache license, version 2.0 (the "license"); you may not use this file except in compliance with the license. you may obtain a copy of the license at
http://www.apache.org/licenses/LICENSE-2.0.html unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. see the license for the specific language governing permissions and limitations under the license.
- Patrick Heneise @PatrickHeneise
- Juan Vanni jota-v
- Diana Liu dianaliu
- David Glivar davidglivar