【问题标题】:Disable PSPDFKit thumbnail禁用 PSPDFKit 缩略图
【发布时间】:2013-03-09 15:28:38
【问题描述】:

我正在尝试禁用 PSPDFKit 附带的缩略图 see image,我不确定它到底叫什么,所以我很难在代码中找到它。以前使用过这个库的任何人都知道这个缩略图来自哪里,它叫什么,或者有任何可能有帮助的东西!谢谢。

【问题讨论】:

  • 您是否拥有 PSPDFKit 的可修改源级许可证?如果没有,那么你的生活将会变得非常艰难。
  • 我想是的,它只在我翻页时显示一次。
  • 设置 scrobbleBarEnabled = NO;像你的PSPDFViewController.scrobbleBarEnabled = NO;这将隐藏 PDF 的 ThumbnailPreView

标签: ios objective-c thumbnails pspdfkit


【解决方案1】:

在 PSPDFKit 中禁用 PDF 的 ScrobbleBar(缩略图预览)和位置叠加(页码:)
您必须执行以下操作

PSPDFViewController *pdfController = [[PSPDFViewController alloc] initWithDocument:yourMagazine];

pdfController.scrobbleBarEnabled = NO; // Disable the Bottom Scrobble Bar
pdfController.pageLabelEnabled = NO; // Disables the bottom document site position overlay.

【讨论】:

  • 我实际上将 scrobbleBarEnabled 和 pageLabelEnabled 都设置为 NO,但它仍然出现。在代码中没有其他地方我看到它们设置为YES。还有其他可能导致它们出现的东西吗? @steipete 感谢您的回答!
猜你喜欢
  • 1970-01-01
  • 2011-08-26
  • 2015-10-25
  • 2023-03-07
  • 2016-03-01
  • 2014-05-01
  • 1970-01-01
  • 2021-03-29
  • 2015-11-18
相关资源
最近更新 更多