Menus and Shortcuts

Simplify interactions with your app by using menu systems and keyboard shortcuts.

Topics

Content Edit Menus

UIMenuController

The menu interface for the Cut, Copy, Paste, Select, Select All, and Delete commands.

UIMenuItem

A custom item in the editing menu managed by the menu controller.

UIResponderStandardEditActions

A set of standard methods that apps can adopt to support editing.

App Menus

UIMenuBeta
UICommandBuilder

An interface that you use to add and remove commands and command groups from a menu system.

Beta
UICommandSystem

An object representing a main or contextual menu system.

Beta

Menu Items and Keyboard Shortcuts

UICommand

An object representing an action command.

Beta
UIKeyCommand

An object that specifies a key press performed on a hardware keyboard and the resulting action.

UIMutableCommand

A mutable object that allows you to change nonessential properties of the command.

Beta
UIMutableKeyCommand

A mutable object that allows you to change nonessential properties of the key command.

Beta

See Also

User Interactions

Touches, Presses, and Gestures

Encapsulate your app's event-handling logic in gesture recognizers so that you can reuse that code throughout your app.

Drag and Drop

Bring drag and drop to your app by using interaction APIs with your views.

Pencil Interactions

Handle double-tap interactions that a user makes on Apple Pencil.

Focus-based Navigation

Navigate the interface of your UIKit app using a remote or game controller.

Peek and Pop

Use 3D Touch input to display custom previews and actions for your content.

Accessibility

Make your apps accessible to everyone, including people with disabilities.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software