This plugin lets you change
UIKeyboardAppearance
ofKeyboard
with valueslight
ordark
. It also supports the KeyboardStyle (string) preference in config.xml. BASED ON THIS cjpearson commit.
This plugin has only been tested in Cordova 3.2 or greater, and its use in previous Cordova versions is not recommended (potential conflict with keyboard customization code present in the core in previous Cordova versions).
From npm (stable)
cordova plugin add cordova-plugin-keyboard-appearance
From github latest (may not be stable)
cordova plugin add https://github.com/sensiasoft/cordova-plugin-keyboard-appearance
Sets style wihtin UIKeyboardAppearance.
cordova.plugins.keyboardAppearance.setStyle(style);
Sets style wihtin UIKeyboardAppearance.
- iOS
cordova.plugins.keyboardAppearance.setStyle('light');
cordova.plugins.keyboardAppearance.setStyle('dark');
- iOS
- 0.1.0
- Initial release
- 0.2.0
- Added setting key
- Fixed toolbar color