Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

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

Index

  • Index
    • KeyboardPickerBarButtonItem class

    On this page

    KeyboardPickerBarButtonItem class

    Summary

    Returns a UIBarButtonItem that will display the keyboard picker when tapped

    Syntax

    KeyboardPickerBarButtonItem(presentingVC: UIViewController)

    Parameters

    presentingVC
    View controller to handle the keyboard picker modes.

    Description

    Opens a view for the user to switch keyboards or download new keyboards.

    Since the keyboard picker is modal, a UIViewController must be supplied to display it. The button has default images for normal and landscape orientation, and can overridden with other images or a title.

    Examples

    Example: Using KeyboardPickerBarButtonItem()

    The following script illustrates the use of KeyboardPickerBarButtonItem():

    let kbBarButton = KeyboardPickerBarButtonItem(presentingVC: self)
    

    See also