Contents

key

The key pressed or released on a physical keyboard.

Declaration

var key: UIKey? { get }

Mentioned in

Discussion

This property is nil when the press event isn’t from a keyboard; for example, a button press on an Apple TV remote.

See Also

Getting press attributes