Instance Method


Dismisses the custom keyboard from the screen.


func dismissKeyboard()


Because a custom keyboard does not have access to the current text input object, you cannot send it a resignFirstResponder() message (as you would to dismiss the system keyboard when you are developing an app with text entry). To dismiss the custom keyboard, call dismissKeyboard() instead.

See Also

Controlling a Custom Keyboard

func advanceToNextInputMode()

Switches to the next keyboard in the list of user-enabled keyboards.

func handleInputModeList(from: UIView, with: UIEvent)

Supports interaction with the list of user-enabled keyboards.