Instance Property


The appearance style of the keyboard that is associated with the text object


optional var keyboardAppearance: UIKeyboardAppearance { get set }


This property lets you distinguish between the default text entry inside your application and text entry inside an alert panel. The default value for this property is UIKeyboardAppearance.default.

See Also

Configuring the Keyboard Appearance

var keyboardType: UIKeyboardType

The keyboard style associated with the text object.

enum UIKeyboardType

The type of keyboard to display for a given text-based view. Used with the keyboardType property.

enum UIKeyboardAppearance

The appearance of the keyboard used by a text-based view. Used with the keyboardAppearance property.

var returnKeyType: UIReturnKeyType

The visible title of the Return key.

enum UIReturnKeyType

The text string displayed in the Return key of a keyboard. Used with the returnKeyType property.

var textContentType: UITextContentType!

The semantic meaning expected by a text input area.

struct UITextContentType

Constants that identify the semantic meaning expected for a text-entry area.