Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0

Index

On this page

KeyboardPickerButton.setTitle()

Summary

The setTitle() method sets the title of the keyboard picker button.

Syntax

KeyboardPickerButton.setTitle(title: String, state: UIControlState)

Parameters

title
Title for the button.
state
State of the button

Description

Clear images if the developer sets a title.

Examples

Example: Using setTitle()

The following script illustrates the use of setTitle():

let kbButton = KeyboardPickerButton(presentingVC: self)
kbButton.setTitle(item.title, for: .normal)