How to disable pdf view(PDFKIT) internal scrolling?
Hacky, brittle and a year or two too late, but... the first subview of your PDFView is a private NS/UIScrollView-derived PDFScrollView. Simply cast this and change its isScrollEnabled
property to false
, e.g. for iOS:
(yourPdfView.subviews[0] as! UIScrollView).isScrollEnabled = false
Alternatively, and probably a better answer: turn off user interaction for the view, or otherwise intercept and handle it.