0

I want to attach pdf files to my application, this pdf file is stored in "Pages" application of iOS, when I try to attach this file, I am easily able to access the pdf file URL, but when I try to send the pdf to server it gives me the following error :

The file “12312331.pdf” couldn’t be opened because you don’t have permission to view it.

I used UIDocumentBrowserViewController with the desired delegate methods to get the local files, I have already set the required keys in "Info.plist".

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Samarth Kejriwal
  • 1,168
  • 2
  • 15
  • 30

0 Answers0