You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run "let document = PDFDocument(url: filePath)" on Demo app, if my file is into Demo app's folder, it is ok, but if my file is into other app's folder such as Demo2222 app --> It's error, document is nil. I get filePath, fileName by UIDocumentPickerViewController, and e.thg is ok.
Such as:
FilePath Demo app:
file:///private/var/mobile/Containers/Data/Application/D3EB4157-93C7-48DB-9515-F4993E1FA172/Documents/aaa.pdf ----> OK
FilePath Demo222 app:
file:///private/var/mobile/Containers/Data/Application/D3EB4157-93C7-48DB-9515-F4993E1FA1224/Documents/aaa.pdf --> NOT OK, document is nil.
So, how can I create a PDFDocument from other app's local folder
The text was updated successfully, but these errors were encountered:
When I run "let document = PDFDocument(url: filePath)" on Demo app, if my file is into Demo app's folder, it is ok, but if my file is into other app's folder such as Demo2222 app --> It's error, document is nil. I get filePath, fileName by UIDocumentPickerViewController, and e.thg is ok.
Such as:
file:///private/var/mobile/Containers/Data/Application/D3EB4157-93C7-48DB-9515-F4993E1FA172/Documents/aaa.pdf ----> OK
file:///private/var/mobile/Containers/Data/Application/D3EB4157-93C7-48DB-9515-F4993E1FA1224/Documents/aaa.pdf --> NOT OK, document is nil.
So, how can I create a PDFDocument from other app's local folder
The text was updated successfully, but these errors were encountered: