Associates the specified keyboard shortcut with the view controller.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The key command to add.
This method lets you easily add key commands to the view controller without overriding the
key property. The key commands you add to a view controller are applied to the active responder chain. When the user performs a key command, UIKit searches the responder chain (starting with the first responder) for an object capable of handling the specified action.