uxmstudio / UXMPDFKit

An iOS PDF viewer and annotator written in Swift that can be embedded into any application.
MIT License
274 stars 104 forks source link

app crash if file url outside xCode project #102

Open musbah98 opened 4 years ago

musbah98 commented 4 years ago

I printed url in console document return nil

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

musbah98 commented 4 years ago

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)