One Logo Pool Ball
UIKit · IOS API REFERENCE

UIGraphicsPDFRenderer

class · iOS 10.0+ · SDK 27.1

class UIGraphicsPDFRenderer

Members (3)

method · iOS 10.0+

pdfData

TypeScript
pdfData(actions: ((arg0: UIGraphicsPDFRendererContext) => void)): ArrayBuffer
Swift declaration
func pdfData(actions: (UIGraphicsPDFRendererContext) -> Void) -> Data
init · iOS 10.0+

init

TypeScript
static init(bounds: { x: number; y: number; width: number; height: number }, format: UIGraphicsPDFRendererFormat): UIGraphicsPDFRenderer
Swift declaration
init(bounds: CGRect, format: UIGraphicsPDFRendererFormat)
method · iOS 10.0+

writePDF

TypeScript
writePDF(url: string, actions: ((arg0: UIGraphicsPDFRendererContext) => void)): void
Swift declaration
func writePDF(to url: URL, withActions actions: (UIGraphicsPDFRendererContext) -> Void) throws

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIGraphicsPDFRenderer.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All UIKit types →