Contents

XCUIElement.KeyModifierFlags

Flags for simulating combination keystrokes with keys, such as Control, Option, Shift, and Command.

Declaration

struct KeyModifierFlags

Overview

Use these flags with the typeKey(_:modifierFlags:) and perform(withKeyModifiers:block:) methods to simulate combination keystrokes while an action occurs.

Topics

Flags for combination keys

Initializers

Legacy flags for combination keys

See Also

Combining keystrokes