0

I am working on PDF Reader from last few days. I got lots of issues while dealing with PDF using Quartz 2D. Currently I want to do is My PDF has links in it. I want to open this link in UIWebView or Safari.

Is it possible using quartz 2D. I had tried it by display pdf in webview but then even it is not working.

I need to open link of PDF files in any of Safari or UIWebView.

EDIT: I already have my PDF displayed. That PDF has text and a link to another website. When I click on that link I want to open that website, not any pdf. I know how to open PDF I want to know how to get link from PDF page and open it.

Thanks

Kapil Choubisa
  • 5,152
  • 9
  • 65
  • 100

1 Answers1

1

Check the SO post for your answer

Display pdf from the weburl iphone sdk

here is a SO post for Opening a link in safari,

Open Link in UIWebView in Safari

Here is SO post regarding

How to access hyperlinks in PDF documents (iPhone)?

Get PDF hyperlinks on iOS with Quartz

Community
  • 1
  • 1
Jhaliya - Praveen Sharma
  • 31,697
  • 9
  • 72
  • 76
  • Hi, I already have my PDF displayed. That PDF has text and a link to another website. When I click on that link I want to open that website, not any pdf. I know how to open PDF I want to know how to get link from PDF page and open it. – Kapil Choubisa Apr 05 '11 at 13:27
  • @Jaliya Thanks but this is not what I am looking for. My I am unable to detect my link in iphone. How can I detect the link and make request. – Kapil Choubisa Apr 05 '11 at 13:37
  • @Kapil : May you are looking for http://stackoverflow.com/questions/4905022/how-can-i-detect-phone-number-and-hyperlink-from-pdf-file – Jhaliya - Praveen Sharma Apr 05 '11 at 13:44