Contents

characters

A string that represents the text value of the key combined with any active modifier keys.

Declaration

var characters: String { get }

Discussion

When the user holds one or more modifier keys, this property contains the modified characters according to the rules of the particular modifier keys. For example, if the user holds Shift while pressing a letter button on a Latin keyboard, this property contains a capital letter.

See Also

Getting key characters