Open bozo4 opened 6 years ago
i got error when I click the btnPDFGenerator in the iPhone the xCode was displayed the error:
Thread 1: EXC_BREAKPOINT (code=1, subcode=0x100e0c304)
@IBAction func pdf(_ sender: UIButton) { let dst = NSHomeDirectory() + "/test.pdf" try! PDFGenerator.generate(Scrollview, to: dst) //<- ERROR HERE openPDFViewer(dst) }
@IBAction func pdf(_ sender: UIButton)
{
let dst = NSHomeDirectory() + "/test.pdf"
try! PDFGenerator.generate(Scrollview, to: dst) //<- ERROR HERE
openPDFViewer(dst)
}
i got error when I click the btnPDFGenerator in the iPhone the xCode was displayed the error:
Thread 1: EXC_BREAKPOINT (code=1, subcode=0x100e0c304)
@IBAction func pdf(_ sender: UIButton)
{
let dst = NSHomeDirectory() + "/test.pdf"
try! PDFGenerator.generate(Scrollview, to: dst) //<- ERROR HERE
openPDFViewer(dst)
}