Hi,
I have a SwiftUI View which contains Images and Borders.
I'd like to export this to a Vector-PDF.
I tried
But the PDF does not contain the Images and the borders. Is there any other solution? PDF as Bitmap is not an option.
I have a SwiftUI View which contains Images and Borders.
I'd like to export this to a Vector-PDF.
I tried
Code Block let pdfExportView = NSHostingView(rootView: MySwiftUIView()) let pdfData = pdfExportView.dataWithPDF(inside: pdfExportView.bounds)
But the PDF does not contain the Images and the borders. Is there any other solution? PDF as Bitmap is not an option.