A drawing environment associated with a PDF renderer.
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
When using the
UIGraphics drawing methods, you must pass a block of type
UIGraphics as an argument, which provides a
UIGraphics 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
UIGraphics object in combination with a PDF renderer, see Creating a Graphics PDF Renderer.