UXMPDFKit icon indicating copy to clipboard operation
UXMPDFKit copied to clipboard

app crash if file url outside xCode project

Open musbah98 opened this issue 5 years ago • 1 comments

I printed url in console document return nil

Screen Shot 2020-07-07 at 9 08 13 AM

  • iOS Version: 13
  • Xcode Version: 11.5
  • Swift Version: 5

musbah98 avatar Jul 07 '20 06:07 musbah98

I just edit how you create link in "PDFDocument" file

was -> self.fileUrl = URL(fileURLWithPath: filePath, isDirectory: false) after my edit -> self.fileUrl = URL(string: filePath)

musbah98 avatar Jul 07 '20 17:07 musbah98