Since

0.1

Ios

KeyboardAppearance is an enum. It defines keyboard appearance theme on iOS devices only.

Example

import Color from '@smartface/native/ui/color';
import TextBox from '@smartface/native/ui/textbox';
import KeyboardAppearance from '@smartface/native/ui/keyboardappearance';

const myTextBox = new TextBox({
top: 50, left:50, width: 100, height: 80,
hint: "your hint text",
backgroundColor: Color.create("#67fcaa")
});
myTextBox.ios.keyboardAppearance = KeyboardAppearance.DARK;
myPage.layout.addChild(myTextBox);

Enumeration Members

Enumeration Members

DEFAULT: 0

Ios

Default colored keyboard appearance. This constant corresponds to UI.KeyboardAppearance.LIGHT.

Since

0.1

DARK: 1

Ios

Dark colored keyboard appearance.

Since

0.1

LIGHT: 2

Ios

Light colored keyboard appearance.

Since

0.1

Generated using TypeDoc