Contents

handler

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

Declaration

var handler: (any UIPreviewActionItem, UIViewController) -> Void { get }

Discussion

The handler is set when the peek quick action is instantiated; it is immutable.

See Also

Creating a peek quick action