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.


protocol UIPreviewActionItem


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

3D Touch Interactions

class UIPreviewInteraction

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

protocol UIPreviewInteractionDelegate

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

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