What's new in PDFKit

RSS for tag

Discuss the WWDC22 Session What's new in PDFKit

Posts under wwdc2022-10089 tag

3 Posts
Sort by:
Post not yet marked as solved
0 Replies
14 Views
Anyone Work on PDFKit, I draw a custom Annotation in PDFView, But I want to add action in Custom Annotation and I can't able to add Gesture in PDFAnnotation because it does not inherit from UIView, so is there any way to add Gesture in PDFAnnotation.
Posted
by fusioni.
Last updated
.
Post not yet marked as solved
0 Replies
99 Views
I'm trying to use PDFPageOverlayViewProvider by copying the code provided in the "What's new in PDFKit" WWDC22 session here: https://developer.apple.com/videos/play/wwdc2022/10089/ I've copied the method implementations and set my pdfView's pageOverlayViewProvider property to the view where I implemented the protocol. However, when I try to run my app, the pdfView(_ view: PDFView, overlayViewFor page: PDFPage) method is never getting called. Has anyone been able to get this working successfully?
Posted
by pablogb.
Last updated
.
Post not yet marked as solved
1 Replies
165 Views
There are some errors when attempting to run the sample code: Cannot convert value of type 'String' to expected argument type 'PDFAnnotationSubtype' I understand the error but I'm unsure what it's looking for. I'm running Xcode 14, targeting iOS 12 Thx for any feedback!
Posted
by anm8tr.
Last updated
.