Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whats the difference between the two iOS hide keyboard accessory bar options? #160

Open
rolinger opened this issue Mar 9, 2021 · 1 comment

Comments

@rolinger
Copy link

rolinger commented Mar 9, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants