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?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.