Structure

UIKeyModifierFlags

Constants that indicate which modifier keys are pressed.

Declaration

struct UIKeyModifierFlags

Topics

Modifier Flags

static var alphaShift: UIKeyModifierFlags

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

static var shift: UIKeyModifierFlags

A modifier flag that indicates the user pressed the Shift 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.

Relationships

Conforms To