- 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 image drawing methods on
UIGraphics, as listed in Rendering Images. Your block should use the provided image renderer context to perform the drawing operations you want the renderer to execute.
See Creating an Image with an Image Renderer for an example use of a