Enumeration

UIKeyModifierFlags

Constants that indicate which modifier keys are pressed.

Declaration

typedef enum UIKeyModifierFlags : NSInteger {
    ...
} UIKeyModifierFlags;

Topics

Modifier Flags

UIKeyModifierAlphaShift

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

UIKeyModifierShift

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

UIKeyModifierControl

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

UIKeyModifierAlternate

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

UIKeyModifierCommand

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

UIKeyModifierNumericPad

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