I use PSPDFKit for iOS.
In a PSPDFViewController
witch conforms PSPDFViewControllerDelegate
I overwrite -(BOOL)pdfViewController didTapOnPageView: atPoint:(CGPoint)viewPoint
, and I need to check if any image [pageView.textParser.images]
from that page was clicked on.
How do I match the coordinates of my point [viewPoint]
with the coordinates of the image?
In short, I want to implement an automatic detection of images in pdf.
UPDATE: I found the answer in
PSPDFKIT
examples,Private