PDFDrawingView icon indicating copy to clipboard operation
PDFDrawingView copied to clipboard

Blank pdf pages

Open MaliSharad opened this issue 4 years ago • 0 comments

let data = pdfView.createPDF() let documentsPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0] as String let filePath = "\(documentsPath)/myCoolPDF.pdf" do { try data.write(to: URL(fileURLWithPath: filePath)) } catch { print("error") }

after writing data to a document directory. PDF creates but the first three pages shows only drawing. not the pdf pages. But other pages with drawing shows correctly...

MaliSharad avatar Mar 31 '20 04:03 MaliSharad