Thanks @J0hn but I noticed this creates a little white view during dismissal. I've done this for now so when you drag you still see the preview's view.
func previewController(_ controller: QLPreviewController, transitionViewFor item: any QLPreviewItem) -> UIView? {
if controller.isBeingDismissed {
return controller.view
}
return nil
}
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: