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


class UIPreviewActionGroup : NSObject


When first displayed, the group appears as a single option in a peek quick action sheet. If the user selects the group, a submenu opens, displaying the child quick actions.


Creating a Peek Quick Action Group

init(title: String, style: UIPreviewAction.Style, actions: [UIPreviewAction])

Creates a peek quick action group using a specified title, style, and array of peek quick actions.

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.

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 UIPreviewInteraction

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