XP_PDFReader 0.1.0

XP_PDFReader 0.1.0

Maintained by jamalping.



  • By
  • jamalping

XP_PDFReader

CI Status Version License Platform

示例

示例.gif

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

XP_PDFReader is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'XP_PDFReader'

use

/// 加载网络PDF
let url = "http://www.gov.cn/zhengce/pdfFile/2018_PDF.pdf"

PDFReaderManage.shareInstance.openURL(.netWork(url: url), openType: .present(self))
/// 加载本地PDF文件
guard let localAdress = Bundle.main.path(forResource: "s3PreviewPDFdoid311538", ofType: "pdf") else {
	return
}
PDFReaderManage.shareInstance.openURL(.local(url: localAdress), openType: .present(self))

Author

jamalping, [email protected]

blog

https://www.jianshu.com/p/b05da7357261

License

XP_PDFReader is available under the MIT license. See the LICENSE file for more info.