Saturday, June 13, 2026
HomeiOS Developmentios - Viewing PDFs in a UIKit app that makes use of...

ios – Viewing PDFs in a UIKit app that makes use of PencilKit

[ad_1]

I’m constructing a word app in UIKit, and the noteapp consists of a number of pages of UIViews in a scroll view, each with a PencilKit PKCanvasView on high of it for drawing. I need to have the ability to import a pdf in order that I can have a PencilKit PKCanvasView on every web page and draw on high of it. I’ve tried to make use of Core Graphics pdf to attract a picture of every pdf and place it within the background of the web page view, however that is too gradual (and inflicting out of reminiscence points), particularly with massive paperwork. Additionally it appears I can not use pdfkit with PencilKit, based on this text https://medium.com/@artempoluektov/ios-pdfkit-tutorial-text-annotations-more-d0175436b28b, and a few makes an attempt of my very own.

Does anybody have any advice on how I can import a pdf doc into such an app with a number of pages that’s not too cpu intensive, and that may accommodate utilizing PencilKit over it as nicely?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments