Keyboard and Menus

Handle keyboard input, and display a menu of custom actions.




A set of methods a subclass of UIResponder uses to implement simple text entry.


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



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


A custom item in the editing menu managed by the UIMenuController object.


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

Custom Input


An object that displays and manages custom input for a view when that view becomes the first responder.

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.


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