How to hide the keyboard form access panel in the Cordoba / PhoneGap application on iOS 8?

I upgraded Cordoba to 4.2.0, and my iOS project was upgraded to 3.7.0. Everything seems to work just fine, except that the iOS keyboard now shows the form accessory bar in iOS 8 (the following previous arrows with the Finish button).

In config.xml, HideKeyboardFormAccessoryBar is set to true, which still works as expected for the application on iOS 7. Now on iOS 8 the panel is not hidden.

<preference name="HideKeyboardFormAccessoryBar" value="true" />

I also installed it in js:

Keyboard.hideFormAccessoryBar(true);

After further research, I found out that the keyboard plugin is no longer supported . Is there any other way to hide this form accessory bar on iOS 8? This is not a big problem, but it makes it obvious that the application is not native, and I would like to avoid it.

+4
source share
1 answer

I managed to solve this problem using a completely different keyboard plugin for Cordova, the Ionic Keyboard plugin . https://github.com/driftyco/ionic-plugins-keyboard

You can install it with the following:

cordova plugin add com.ionic.keyboard

To hide the keyboard accessory panel, do the following:

cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);

, , , , iOS 7, iOS 8. iPhone iPads. , -. - , , , .

+3

All Articles