-3

how can I load an pdf file from an server in my apllication? I find only descriptions who this works for a local pdf file.

Nils

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Nils
  • 9
  • 6

1 Answers1

1

You have to download first the PDF file to local storage and then load it in your application. Use the NSURLRequest, NSURLConnection classes to download the PDF file and then use your PDF framework to load the PDF file.

iPDFdev
  • 5,229
  • 2
  • 17
  • 18
  • OK can you give me an example to download the pdf? – Nils Jul 30 '13 at 14:15
  • See the answers to this questions: http://stackoverflow.com/questions/5323427/how-do-i-download-and-save-a-file-locally-on-ios-using-objective-c – iPDFdev Jul 30 '13 at 14:58