A handler block that you use to draw PDF content.
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
UIGraphics defines a block type that takes a
UIGraphics object as an argument and has no return value.
You provide a block of this type as an argument to the PDF drawing methods on
UIGraphics, as listed in Rendering PDFs. Your block should use the provided PDF renderer context to perform the drawing operations you want the renderer to execute.
See Creating a PDF with a PDF Renderer for an example use of a