Skip to content

Apache Cordova plugin for iOS to control the visibility of the status bar.

Notifications You must be signed in to change notification settings

megaFatXR/cordova-ios-statusbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StatusBar for Cordova

by Patrick Heneise (@PatrickHeneise).

Addapted for ios7 by jota-v.
CLI support by dianaliu.

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.

Installation

  1. run cordova plugin add https://github.com/jota-v/cordova-ios-statusbar.git
  2. In Xcode 5 edit your app plist file set "View controller-based status bar appearance" to NO

##How it works

statusbar = window.plugins.statusBar;
statusbar.hide();
statusbar.show();
statusbar.whiteTint();
statusbar.blackTint();

It's as simple as that. Have fun.

About

Apache Cordova plugin for iOS to control the visibility of the status bar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Objective-C 84.7%
  • JavaScript 15.3%