ios - 更改 PSPDFKit 查看模式

标签 ios pspdfkit

我正在使用 PSPDFKit。我可以显示页面的唯一模式是单一的。我想知道当设备处于横向位置时是否可以显示两个页面?

最佳答案

使用 PSPDFView Controller 为 PSPDFKit 创建 View Controller 时。使页面模式自动。 它必须是这样的:

PSPDFViewController *pdfController = [[PSPDFViewController alloc] initWithDocument:pdfDocument];
pdfController.pageMode = PSPDFPageModeAutomatic;

关于ios - 更改 PSPDFKit 查看模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9494242/

相关文章:

ios - swift 3 : Checking if app is in background

ios - 如何使用 AFNetworking 跟踪多个同时下载的进度?

ios - 未保存 PDF 注释

ios - box-ios-preview-sdk : Memory leak in pspdfkit

ios - 如何在使用 PSPDFKIT (iOS) 和 Objective C 时突出显示文本

ios - 自动检测 PDF 中的图像

ios - 创建类别时 PSPDFKit 链接器错误

ios - iOS 上的 HTML5 MSE

ios - 在 UINavigationController 中的 TableViewController 中消失 UISearchController

ios - 如何在 swift 中为包含在 stackview 中的标签提供动态高度