Instance Method

removeKeyCommand(_:)

Removes the key command from the view controller.

Declaration

func removeKeyCommand(_ keyCommand: UIKeyCommand)

Parameters

keyCommand

The key command to remove.

Discussion

This method lets you easily remove key commands without overriding the keyCommands property.

See Also

Accessing the Available Key Commands

var performsActionsWhilePresentingModally: Bool

A Boolean value indicating whether the view controller performs menu-related actions.

func addKeyCommand(UIKeyCommand)

Associates the specified keyboard shortcut with the view controller.