Closed gaurav-chandra closed 5 years ago
Can you provide a sample app? I can't reproduce You have to call it while the keyboard is hidden, doesn't take effect if you run it while it's displayed, if it is displayed it will appear next time you open the keyboard.
plain ionic 4 hello world. I am writing this in app.component.ts:
this.platform.ready().then(() => {
if (window.cordova) {
Keyboard.hideFormAccessoryBar(null, (currentValue) => { console.log(currentValue); });
}
}
That jus return true or false, doesn’t set the value
At first I did: Keyboard.hideFormAccessoryBar(false);
Since, it did not show the accessory bar, I resorted to the above code. Which does not give me any result. I will tinker more and will post the result here. Thanks for the help.
And what type of input/field do you use to show the keyboard?
Make sure the following preference in your config.xml file is set properly:
<preference name="HideKeyboardFormAccessoryBar" value="false"/>
Although technically designed for Blackberry phones, it does hide the Accessory Bar ( including the done button) in iOS.
Still can't get this to work for me, any idea?
Closing as I can't reproduce and the requested information was not provided
or
does not show the accessory bar on ios
using ionic v4 stable