title: Download pdf file from server, save it in ApplicationSupport directory. iOS
body: <p>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. </p>
  
  <p>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). </p>
  
  <p>So, there is someone who can help me, by show me a sample code of this? </p>
  
  <p>Thank you so much :)</p>