简体   繁体   English

如何使用 Objective-C 使用 VFR pdf 阅读器库转到特定页面

[英]How to go to specific page with VFR pdf reader library with Objective-C

I'm using vfr reader to display my pdf file ( https://github.com/vfr/Reader ).我正在使用 vfr 阅读器来显示我的 pdf 文件( https://github.com/vfr/Reader )。 One of my iOS app function is to go to specific page of the pdf file.我的 iOS 应用程序功能之一是转到 pdf 文件的特定页面。

I didn't find any API in the source code could help me to do so.我在源代码中没有找到任何 API 可以帮助我这样做。 But I see one of the property @property (nonatomic, strong, readwrite) NSNumber *pageNumber;但我看到了@property (nonatomic, strong, readwrite) NSNumber *pageNumber; 属性之一。

However, it can only be set during init process.但是,它只能在 init 过程中设置。 Is there any easy and rational way to go to the specific page?有没有什么简单合理的方法可以跳转到特定页面?

要转到特定页面,我打开了以下界面。

[_ReadViewContrller showDocumentPage:_PageNumber]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM