Creates a peek quick action using a specified title, style, and handler.
- iOS 9.0+
- tvOS 9.0+
The quick action’s title.
The quick action’s style. For a complete list of styles, see the
UIPreviewenumeration in UIPreviewActionItem Protocol Reference.
A block that is called when the user selects the peek quick action. The block takes the following parameters:
The peek quick action selected by the user.
The view controller displayed as the peek.
A newly-created peek quick action.