我使用来自 https://github.com/vfr/Reader 的 PDF 阅读器创建了一个应用程序. 来源很好,但我找不到滚动到特定页面的方法。例如,文档有 10 页,我想在启动时显示第 10 页。 我该怎么做?
最佳答案
在 - (void)handleSingleTap:(UITapGestureRecognizer *)recognizer
此行之后的方法
ReaderDocument *document = [ReaderDocument withDocumentFilePath:filePath password:phrase];
编写下面的代码
[document setPageNumber:[NSNumber numberWithInt:10]];
关于ios - 滚动到 PDF 文档中的特定页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19114772/