问题
I am working on PDFKit and try to rotate the page. It is rotating good but without using usePageViewController. With usePageViewController it won't update the frame of the page.
// At defining PDFVIEW object pdfView.displayMode = .singlePageContinuous pdfView.usePageViewController(true, withViewOptions: nil) // For rotating screen pdfView.currentPage?.rotation += 90
without usePageViewController pagination is not working. How to achieve both at same place.
https://i.stack.imgur.com/xifjV.jpg
https://i.stack.imgur.com/HUogU.jpg
来源:https://stackoverflow.com/questions/56939138/rotate-pdf-page-with-usepageviewcontroller