- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
When you draw to the PDF context using
CGContext functions the drawing operations are recorded in PDF format. The PDF commands that represent the drawing are written to the destination specified when you create the PDF graphics context.