-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Thank you for this great example. Is it possible to generate PDF from HTML+CSS+JavaScript headless, without first made it visible in WKWebView? Without showing anything, just read HTML file to invisible WKWebView then create and save PDF? If I'm using:
func render(htmlURL: URL,
toPDF pdfURL: URL,
paperSize: PaperSize,
paperMargins: UIEdgeInsets = .zero,
delegate: HTML2PDFRendererDelegate? = nil,
callback: @escaping Callback = {_, _ in})
it creates empty PDF.
Thank you.
Richard
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels