A document that contains PDF (Portable Document Format) drawing information.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
PDF provides an efficient format for cross-platform exchange of documents with rich content. PDF files can contain multiple pages of images and text. A PDF document object contains all the information relating to a PDF document, including its catalog and contents.
Note that PDF documents may be encrypted, and that some operations may be restricted until a valid password is supplied—see the functions listed in Managing Encryption. Core Graphics also supports decrypting encrypted documents.
Core Graphics can both display and generate files that are compliant with the PDF standard. When imaging PDF files,
CGPDFDocument is the basic type used to represent a PDF document.