0

I've recently implemented a pdfviewer using the ios PDFKit library, and am using singlepage mode rather than continuous mode. Following the solution to another question I've implemented the page turning with a swipe handler however this just loads the next/prev page.

Is it possible to animate moving between the pages in singlePage mode?

shochu_king
  • 136
  • 2
  • 10

1 Answers1

0

enabling usePageController enabled UI page view controller scroll style scrolling

pdfView!.usePageViewController(true, withViewOptions: nil)

from here: https://developer.apple.com/documentation/pdfkit/pdfview/2877501-usepageviewcontroller

shochu_king
  • 136
  • 2
  • 10