title: Cannot open PDF file using UIWebView in iOS8beta5
body: <p>I have <strong>working project</strong> in which i display <strong>pdf file in UIWebView</strong><br>
  While testing my application in <strong>iOS8beta5 with XCode5</strong>, it did not work<br>
  In <strong>log</strong> it display <code>failed to find PDF header : '%PDF' not found</code><br>
  <hr>
  I create sample application with below code which also have same problem <br>
  <strong>CODE :</strong></p>
  
  <pre><code>self.myWebView.delegate = self;
  NSString *path = [[NSBundle mainBundle] pathForResource:@"201" ofType:@"pdf"];
  NSURL *targetURL = [NSURL fileURLWithPath:path];
  NSURLRequest *request = [NSURLRequest requestWithURL:targetURL];
  [self.myWebView loadRequest:request];
  </code></pre>
  
  <p><hr>
  <strong>I read release note</strong>, Apple wrote that
  <code>Quicklook framework may did not display PDF file in some application</code>
  but they did not mention any thing about <code>UIWebView</code>,
  <img src="https://i.stack.imgur.com/jTVvx.jpg" alt="enter image description here"></p>
  
  <p><a href="https://developer.apple.com/library/prerelease/ios/releasenotes/General/RN-iOSSDK-8.0/" rel="nofollow noreferrer">Reference</a></p>
  
  <p><hr>
  <strong>NOTE :</strong><br>
  This problem was not came in iOS8beta4.<br>
  Same problem is also occur in XCode6 + iOS8beta5.<br>
  I also check with different PDF files but have same problem.
  <hr>
  <strong>QUESTION :</strong><br>
  1] Is there any one had done fix for the above problem ?<br>
  If yes, please provide me some sample code. <br></p>