Creates a PNG-encoded image by following a set of drawing instructions.
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
UIGraphicsblock that, when invoked by the renderer, executes a set of drawing instructions to create the output image.
Image Renderer .Drawing Actions
Data object representing a PNG-encoded representation of the image created by the supplied drawing actions.
You provide a set of drawing instructions as the block argument to this method, and the method returns the resulting image as a PNG-encoded
You can call this method repeatedly to create multiple images, each of which has identical dimensions and format.