title: Show downloaded PDF file with webView ios
body: <p>I'm making an iPhone app, that will download a PDF file and display it in a webView.
  However my script will not show the downloaded PDF. It does download it and save it in Documents, but the webView will not show it.</p>
  
  <p>Here's my script:</p>
  
  <pre><code>NSString *path = [[NSBundle mainBundle] pathForResource:@"3" ofType:@"pdf"];
  NSURL *urlen = [NSURL fileURLWithPath:path];
  NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:urlen];
  [webView loadRequest:urlRequest];
  [webView setScalesPageToFit:YES];
  </code></pre>