PDFDocument object represents PDF data or a PDF file and defines methods for writing, searching, and selecting PDF data.
- iOS 11.0+Beta
- macOS 10.4+
The other utility classes are either instantiated from methods in
PDFDocument, as are
PDFOutline; or support it, as do
You initialize a
PDFDocument object with PDF data or with a URL to a PDF file. You can then ask for the page count, add or delete pages, perform a find, or parse selected content into an