UIGraphicsPDFRendererContext
The drawing environment for a PDF renderer.
Declaration
class UIGraphicsPDFRendererContextOverview
When using the UIGraphicsPDFRenderer drawing methods, you must pass a block of type UIGraphicsPDFRenderer.DrawingActions as an argument, which provides a UIGraphicsPDFRendererContext instance as an argument. Use the context object to access high-level drawing functions and the underlying Core Graphics context.
To learn how to use a UIGraphicsPDFRendererContext object in combination with a PDF renderer, see Creating a graphics PDF renderer.