Contents

charactersIgnoringModifiers

A string that represents the text value of the key without modifier keys.

Declaration

var charactersIgnoringModifiers: String { get }

Mentioned in

Discussion

For Latin-based languages, always expect a lowercase property value. If the user is pressing only a modifier key, the property value is an empty string.

To check for special keys, compare charactersIgnoringModifiers to constants listed in Input strings for special keys.

See Also

Getting key characters