在 iPhone SDK 中的 PDF 页面中打开 webView 或 safari 中的链接?
最近几天我正在研究 PDF Reader。我在使用 Quartz 2D 处理 PDF 时遇到了很多问题。目前我想做的是我的 PDF 中有链接。我想在 UIWebView 或 Safari 中打开此链接。
是否可以使用石英 2D。我已经尝试过在 webview 中显示 pdf 但后来它也不起作用。
我需要在 Safari 或 UIWebView 中打开 PDF 文件的链接。
编辑: 我已经显示了我的 PDF。该 PDF 包含文本和另一个网站的链接。当我点击该链接时,我想打开该网站,而不是任何 pdf 文件。我知道如何打开 PDF 我想知道如何从 PDF 页面获取链接并打开它。
谢谢
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查SO帖子以获得答案
显示来自weburl iphone sdk的pdf
这是一篇在 safari 中打开链接的帖子,
在 UIWebView 中打开链接在 Safari 中
的帖子
这是关于如何访问超链接 PDF 文档 (iPhone)?
使用 Quartz 在 iOS 上获取 PDF 超链接< /a>
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