Keyboard

从cordova访问iOS的键盘

代码实例

1.module.controller('MyCtrl', function($scope, $cordovaKeyboard) {
2.
3. $cordovaKeyboard.hideAccessoryBar(true)
4.
5. $cordovaKeyboard.disableScroll(true)
6.
7. $cordovaKeyboard.close()
8.
9. var isVisible = $cordovaKeyboard.isVisible()
10.
11.});