title: How to use UIDocument in iOS for remote documents?
body: <p>i want to display the pdf files as preview and display the PDF files in my app but pdfwhich i want to use are taking from the URL and display those pdf files in my document without using Web view but i want to display in  UIDocumentation only. but app is crashing if i used from URL? how to solve this problem,?</p>
  
  <pre><code>NSURL *URL =  [NSURL URLWithString:@"http://golearning.blinkweb.com/uploads.00612104/00388749.pdf"];
  if(URL)
  {
      self.documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:URL];
      self.documentInteractionController.delegate = self;
      [self.documentInteractionController presentPreviewAnimated:YES];
  }
  </code></pre>