Product: iOS
Product Version: 10.12.84387
Please give a brief summary of your issue: Not able to get page level overlay
Please describe your issue and provide steps to reproduce it:
I have a requirement where I need to display annotations on a PDF without using XFDF. I have a JSON file containing metadata about the annotations, and I perform some calculations to determine their precise frame. My goal is to place these annotations on the overlay view of each specific PDF page.
However, I am unsure how to get the frame (origin and size) of each individual PDF page and its overlay view so I can correctly position my annotations.
Here are the challenges I’m facing:
I can access the global overlay view of PTPDFViewCtrl (via pdfViewCtrl.overlayView), but I haven’t found a way to access an overlay view specific to each PDF page where I can place my annotations.
Could you assist me with the following questions?
- How can I access the overlay view for each individual PDF page?
- What is the appropriate delegate method to use when placing annotations on a PDF page?