Whats the difference between the two iOS hide keyboard accessory bar options?
rolinger opened this issue · 1 comments
rolinger commented
Whats the difference between the following two, iOS only, hide accessory bar options? Can both be set from config.xml and/or be set from in the code? If the same, whats the point of having two different options?
**HideKeyboardFormAccessoryBar** (for iOS only)
Boolean (true by default)
true: hides the keyboard accessory bar.
false: shows the keyboard accessory bar.
<preference name="HideKeyboardFormAccessoryBar" value="false" />
**Keyboard.hideFormAccessoryBar** (for iOS only)
Hide the keyboard toolbar.
Set to true to hide the additional toolbar that is on top of the keyboard. This toolbar features the Prev, Next, and Done buttons.
Keyboard.hideFormAccessoryBar(value, successCallback);
Michael-Stanford commented
One is a method, the other a preference.
The 'HideKeyboardFormAccessoryBar' preference is set in config.xml, and sets the default mode for your app. The 'Keyboard.hideFormAccessoryBar' method is used in your script for changing the preference while your app is running.