iPhone PDF 查看 CGPDFDocument

发布于 2024-09-06 03:56:09 字数 217 浏览 5 评论 0原文

我正在开发一个应用程序,我需要在其中显示 PDF 文档。经过几个小时的谷歌搜索后,我能够构建一个视图来显示从 URL 获取的 PDF 文档。

我知道只显示一个页面。使用CGPDFDocumentGetPage(ref, pageNumber)

我想拥有什么。

  1. 分页功能。
  2. 缩放
  3. 滚动

I am developing an app where I need to show PDF documents. After many hours of googling I was able to build up a view to show the PDF document fetched from a URL.

I know only to display a single page. using CGPDFDocumentGetPage(ref, pageNumber).

What I would like to have.

  1. Pagination function.
  2. Zoom
  3. Scrolling

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夢归不見 2024-09-13 03:56:09

为什么不使用 UIWebView 而不是重新发明轮子呢?

Why not using the UIWebView instead of reinventing the wheel?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文