Post

Replies

Boosts

Views

Activity

Reply to How to export a SwiftUI View to PDF (Vector)
Used on of my DTS I got the reply to file a bug … which I did :) But I also found a workaround: While CoreGraphics was not working first, I found out that a PDF with all SwiftUI-Elements is produced if the CoreGraphics-part is wrapped in DispatchQueue.main.async The result is flipped and mirrored but that shouldn't be a problem. And yes, I included the workaround in the sample project which I attached to the bug report.
Jul ’20