Contents

UIGraphicsPDFRendererContext

The drawing environment for a PDF renderer.

Declaration

class UIGraphicsPDFRendererContext

Overview

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.

Topics

Marking new pages

Getting the PDF bounds

Managing destinations

See Also

Graphics contexts