mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 00:45:32 +00:00
36 lines
667 B
Markdown
36 lines
667 B
Markdown
---
|
|
title: KeyboardPickerButton class
|
|
---
|
|
|
|
## Summary
|
|
|
|
The **KeyboardPickerButton** class provides a button that triggers the language picker menu
|
|
|
|
## Syntax
|
|
|
|
``` swift
|
|
KeyboardPickerButton.methodName()
|
|
```
|
|
|
|
## Description
|
|
|
|
Opens a view for the user to switch keyboards or download new keyboards.
|
|
|
|
## Methods
|
|
|
|
[`setTitle()`](setTitle)
|
|
: clear images if the developer sets a title
|
|
|
|
## Examples
|
|
|
|
### Example: Using `KeyboardPickerButton()`
|
|
|
|
The following script illustrates the use of `KeyboardPickerButton()`:
|
|
|
|
``` swift
|
|
let kbButton = KeyboardPickerButton(presentingVC: self)
|
|
```
|
|
|
|
## See also
|
|
|
|
- [`KeyboardPickerBarButtonItem()`](../KeyboardPickerBarButtonItem/)
|