Instance Method

handleInputModeList(from:with:)

Supports interaction with the list of user-enabled keyboards.

Declaration

func handleInputModeList(from view: UIView, with event: UIEvent)

Discussion

Use this method to launch the input mode list from your input view when the user long-presses or swipes up from the view; advance to the next input mode in the list when the user taps the view.

See Also

Controlling a Custom Keyboard

func advanceToNextInputMode()

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

func dismissKeyboard()

Dismisses the custom keyboard from the screen.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software