I'm newbie in iOS development, and I wanna know how can I download a file from a server, and save it in my Application Support folder. I wanna keep it as .pdf file, to be able to display it in UIWebView.
After long time in diferents websites, I think I should use NSURLConnection (asynchronous) to download it. Or NSData (I tried it already, but it didn't work).
So, there is someone who can help me, by show me a sample code of this?
Thank you so much :)