CGPDFDocument
CGPDFDocument is a class in the Core Graphics framework of Apple's iOS and macOS operating systems, designed to facilitate the manipulation and rendering of Portable Document Format (PDF) files. Introduced as part of the Core Graphics suite, it provides developers with a structured way to access and interact with PDF content programmatically.
The class allows developers to extract text, images, and other elements from PDF documents, as well as
One of its key functionalities is the ability to render PDF pages onto a graphics context, such
CGPDFDocument is built on top of the Core Graphics framework, which is optimized for performance and efficiency.
Developers typically use CGPDFDocument in conjunction with other Core Graphics classes, such as CGContext, to create