Post

Replies

Boosts

Views

Activity

Reply to How to use PDFPageOverlayViewProvider?
Hi ! I just figured out that setting the PDFDocument to nil in the editing PDFView Briggs the PDFPageOverlayViewProvider willEndDisplayingOverlayView(for:) delegate ! Then all custom pages get their edited content and my custom UIDocument's contents(forType:) can now grab my custom PDFPage content to burn into the .pdf file !
Jul ’23
Reply to wwdc2022-10089 issue
I definitely do something wrong or the lifecycle of willEndDisplayingOverlayView has issues. It fills my custom AFPDFPages only when I scroll to another page (I cannot edit single page documents) or when the app goes in background. What is the lifecycle of a PDFPageOverlayViewProvider ?
Jul ’23
Reply to Codes are not working at this video.
Hi, in my case the overlayView(For:) method is called when I create and display my editing view controller. The issue I have is the willEndDisplayingOverlayView never gets called and when the contents(forType:) is running on the UIDocument I'm saving, it never gets th custom PDFPages drawing content, so I get no data. (althrought the PDFDocumentDelegate is set). Sorry, I'm 5 months late, but : Did you manage to do something ?
Jul ’23