UIKey
An object that provides information about the state of a keyboard key.
Declaration
@MainActor class UIKeyOverview
UIKey provides relevant information about the current state of a key on a keyboard as a user presses and releases the key. To learn more, see Handling key presses made on a physical keyboard.