Refer to: https://github.com/GuillaumeRossit/MyPencilKitOverPDFApp
Demonstrates use of PDFPageOverlayViewProvider to use PencikKit over PDFKit as shown in wwdc2022-10089.
https://developer.apple.com/videos/play/wwdc2022/10089/
The current issue is:
- When "Draw Box Off" is enabled, the drawing works correctly.
- However, when "Draw Box On" is enabled:
- Drawing should be disabled ===> Ok
- The
handleDrag()should be triggered when drawing with one finger or with the pencil, but currently, it only works when using two fingers or a combination of one finger + pencil.
- This issue started occurring after upgrading from iOS 17.6 to iOS 18.0.