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.


The UIPreviewActionItem protocol is adopted by the UIPreviewAction and UIPreviewActionGroup classes.


Accessing Peek Quick Action Properties

var title: String

The peek quick action item’s title.



enum UIPreviewAction.Style

The style for a peek quick action. Use these styles with instances of the UIPreviewAction and UIPreviewActionGroup classes.


Inherits From

See Also


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.

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.