QLPreviewControllerDelegate
The protocol that a delegate of a preview controller needs to adopt to handle Quick Look previews.
Declaration
protocol QLPreviewControllerDelegate : NSObjectProtocolOverview
The delegate of a QLPreviewController object needs to adopt this protocol to:
Provide a zoom animation for Quick Look previews.
Specify whether your app opens a URL that the user taps in a preview.
Respond to the opening or closing of a preview.
The methods described here are optional, but expected.
Topics
Responding to preview requests
previewController(_:frameFor:inSourceView:)previewController(_:transitionImageFor:contentRect:)previewController(_:transitionViewFor:)previewControllerWillDismiss(_:)previewControllerDidDismiss(_:)