Update to this. Ive decided to try downloading the pdf file to my mac desktop and view the results. When I do this, the PDF looks completely normal.
I think there is something wrong with how I am creating my printPDFDocumentt function. Almost as if I have a pdfDocument and I am pasting the document to a new created PDFView and thats whats causing the weird pasting affect. Not sure exactly.
NSPrintOperation(view: pdfView, printInfo: printInfo)
this functino accepts a view of type NSView, Is there a way to convert a PDFDocument to an NSView?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: