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.

Overview

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

Topics

Accessing Peek Quick Action Properties

var title: String

The peek quick action item’s title.

Required.

Constants

enum UIPreviewActionStyle

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

Relationships

Inherits From

See Also

Previews

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.