// Initialize a CPDFDocument object with the path to the PDF file
let document: CPDFDocument? = CPDFDocument.init(url: filePath)
// Initialize a CPDFView object with the size of the entire screen
let pdfView: CPDFView? = CPDFView.init(frame: self.view.bounds)
pdfView?.document = document
iOS Library for PDF Conversion
Convert PDF files to and from various formats with ComPDFKit AI-powered PDF conversion library. Support PDF to/from Word, Excel, PPT, PNG, JPG, TXT, RTF, CSV, HTML, and more. Preserve the layout and quality of your original files with our advanced iOS conversion library.
PDF Content Editor Library
Integrate the ComPDFKit content editor library into your iOS apps to quickly and easily edit PDF text and images, and set properties, without having to use a separate Word processing program.
PDF Editor SDK
Empower your iOS apps with powerful ComPDFKit Objective-C, Swift, and C/C++ libraries to organize and edit PDF pages seamlessly. Allow to add, delete, merge, split, replace, rotate, flip, reverse, reorder pages, etc.
PDF Security SDK for iOS
Secure your documents with permissions, redaction, and watermark, and encrypt files with advanced encryption standard (AES) 128 or 256. Integrate ComPDFKit SDK into your iOS apps and protect the file data.