I've a QLPreviewController in the detail/secondary section of a UISplitViewController and when the user swipes down, it dismisses the entire split view.
Is there a way to prevent this?
I've a QLPreviewController in the detail/secondary section of a UISplitViewController and when the user swipes down, it dismisses the entire split view.
Is there a way to prevent this?
When you present a view controller, you can prevent the "swipe down to dismiss" gesture in most cases by setting the presented view controller's isModalInPresentation property to true.
Apple even provides a sample app about this: