I have an application with PDF viewer that show an existence PDF file.
that file has links, some of these links go to websites, and some links go to another pages inside the PDF itself. I use PDFDocument
, is there any way to handle the clicking on those links?
Asked
Active
Viewed 1,098 times
1

LofiMAM
- 127
- 1
- 11
1 Answers
3
Implement PDFViewDelegate to PDFVIew. following method in delegate trigger on link click:
- (void)PDFViewWillClickOnLink:(PDFView *)sender withURL:(NSURL *)url
Implement your logic for link handling.

Prafulla
- 741
- 7
- 11
-
I am sorry to late, I am trying your solution, can you take a look on this https://stackoverflow.com/questions/61600221/open-pdf-with-pdfkit-pdfview-on-ios – LofiMAM May 04 '20 at 19:55