Peek and Pop

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


First Steps

Implementing Peek and Pop

Accelerate actions in your app by providing shortcuts to preview content in detail view controllers.

protocol UIViewControllerPreviewing

A set of methods that define the interface for configuring a previewing view controller on devices that support 3D Touch.

protocol UIViewControllerPreviewingDelegate

A set of methods used by the delegate to respond, with a preview view controller and a commit view controller, to the user pressing a view object on the screen of a device that supports 3D Touch.


protocol UIPreviewInteractionDelegate

A set of methods for communicating the progress of a preview interaction.

class UIPreviewAction

A preview action, or peek quick action, that is displayed below a peek when a user swipes the peek upward.

protocol UIPreviewActionItem

A set of methods that defines the styles you can apply to peek quick actions and peek quick action groups, and defines a read-only accessor for the user-visible title of a peek quick action.

class UIPreviewActionGroup

A group of one or more child quick actions, each an instance of the UIPreviewAction class.

class UIPreviewInteraction

A class that registers a view to provide a custom user experience in response to 3D Touch interactions.

Home Screen

Add Home Screen Quick Actions

Expose commonly used functionality with static or dynamic 3D Touch Home screen quick actions.

class UIApplicationShortcutIcon

An image you can optionally associate with a Home screen quick action to improve its appearance and usability.

class UIApplicationShortcutItem

An application shortcut item, also called a Home screen dynamic quick action, that specifies a user-initiated action for your app.

class UIMutableApplicationShortcutItem

An item that specifies a configurable user-initiated action for your app (the item is also called a mutable Home screen dynamic quick action).

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.

Keyboard and Menus

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


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