Instance Property

handler

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

Declaration

@property(nonatomic, copy, readonly, nonnull) void (^handler)(id<UIPreviewActionItem> action, UIViewController *previewViewController);

Discussion

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

See Also

Creating a Peek Quick Action

+ actionWithTitle:style:handler:

Creates a peek quick action using a specified title, style, and handler.

Deprecated