Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 15.0Version 14.0 (current version)Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0 (home page)

On this page

Manager.switchToNextKeyboard()

Summary

The switchToNextKeyboard() method switches to the next keyboard.

Syntax

Manager.switchToNextKeyboard()

Returns

Returns the index of the newly selected keyboard. If there's no keyboard to switch to, returns nil.

Description

Use this method to switch to next keyboard in the keyboards list. If the next keyboard does not exists, then it loads the first keyboard in the keyboards list.

Examples

Example: Using switchToNextKeyboard()

The following script illustrates the use of switchToNextKeyboard():

Manager.shared.switchToNextKeyboard()

See also