Class

UIPreviewAction

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

Declaration

@interface UIPreviewAction : NSObject

Overview

A peek quick action typically selects a deep link to your app and has a title, a style, and a handler. Peeks and peek quick actions are available on devices that support 3D Touch.

Topics

Creating a Peek Quick Action

+ actionWithTitle:style:handler:

Creates a peek quick action using a specified title, style, and handler.

handler

The block called when the peek quick action is selected by the user.

Relationships

Inherits From

See Also

Previews

UIPreviewInteractionDelegate

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

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.

UIPreviewActionGroup

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

UIPreviewInteraction

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