Open
Description
I'm observing some weird behavior when generating PDFs. My goal is to get a PDF from a UIView with UILabels where the PDF has vectorized, searchable text, not a rasterization of text.
When I pass in a view in the hierarchy and visible on screen to PDFGenerator.generated(by: )
, the PDF is rendered with vectorized text, but the view I passed in gets mangled as a result. If instead I create a new instance of that view and pass that in instead, the resulting PDF is completely rasterized.
Any thoughts?
Metadata
Assignees
Labels
No labels