TextView.dismissKeyboard()
Summary
The dismissKeyboard()
method dismisses the keyboard if this textview is the first responder.
Syntax
TextView.dismissKeyboard()
Description
Use this instead of [resignFirstResponder] as it also resigns the Keyman keyboard's responders.
Example
Using dismissKeyboard()
The following script illustrates the use of dismissKeyboard()
:
TextView.dismissKeyboard()