title: How to show NSData or base64 coming from server to UIWebView as pdf?
body: <p>I am getting <code>base64</code> data from server and converting it into <code>NSData</code> but unable to show it on <code>webview</code> (but we know that the data is in <code>pdf</code> format).</p>
  
  <p>I tried with this code but not working :</p>
  
  <pre><code>[webview loadData:fileData MIMEType:@"application/pdf" textEncodingName:@"utf-8" baseURL:nil];
  </code></pre>