Some test text!
Use simple and ready-to-use annotation tools & widgets that come with the complete source code to match your look & feel or build a unique product. No limits!
iOS-optimized silky smooth viewing of complex PDFs. Avoid costly surprises with the most compliant rendering engine built from the ground up and perfected at PDFTron over the last 20 years
Avoid slow & bandwidth-draining downloads when viewing documents in the cloud. PDFTron can instantly view pages on-demand without downloading the entire document.
Apple PDFKit API suffers from rendering and compatibility issues. Overcome these problems with a simple adapter library or take advantage of many unique PDFTron features.
Support current and future use cases with the most complete PDF & Office SDK on the market.All Features
Support for 30+ file formats, including PDF, PDF/A, HTML, SVG, PNG, and Microsoft Office.All File Formats
Everything you need to quickly build a prototype, and for a great development experience.Documentation
PDFTron is easy to get up and running with popular package managers and a few lines of code.
let pdfPath: String? = Bundle.main.path(forResource: "tiger", ofType: "pdf") let docToOpen = PTPDFDoc(filepath: pdfPath) let pdfViewCtrl = PTPDFViewCtrl() pdfViewCtrl.setDoc(docToOpen) self.view.addSubview(pdfViewCtrl) // Set the size of the PDFViewCtrl to that of its superview. // (Auto Layout is fully supported as well) pdfViewCtrl.frame = self.view.bounds pdfViewCtrl.autoresizingMask = [.flexibleWidth, .flexibleHeight]