Type Property

shift

A modifier flag that indicates the user pressed the Shift key.

Declaration

static var shift: UIKeyModifierFlags { get }

See Also

Modifier Flags

static var alphaShift: UIKeyModifierFlags

A modifier flag that indicates the user pressed the Caps Lock key.

static var control: UIKeyModifierFlags

A modifier flag that indicates the user pressed the Control key.

static var alternate: UIKeyModifierFlags

A modifier flag that indicates the user pressed the Option key.

static var command: UIKeyModifierFlags

A modifier flag that indicates the user pressed the Command key.

static var numericPad: UIKeyModifierFlags

A modifier flag that indicates the user pressed a key located on the numeric keypad.