title: UIWebView is loading very slowly on the first time it is displayed in a specific UIViewController
body: <p>I have a "product details" <code>UIViewController</code> on my storyboard which has a <code>UIWebView</code> to display "rich text" (basically bold and italic). The web view is loaded using a string (fetched from <code>CoreData</code>) <code>loadHTMLString</code>. The problem is that the first time the view is displayed, there is at least a one second delay before the web view is rendered. Further "product details" views that are loaded all load fine. It is only the first "product details" web view which takes the time to load.</p>
  
  <p>This is what I have tried (with no joy)</p>
  
  <ol>
  <li>Displaying a <code>UIWebView</code> with text on the first screen (to warm up the UIWebView)</li>
  <li>When it comes time to show the details view, <code>init</code> the web view in the <code>prepare for segue</code> method and pass it to the "product details" view controller.</li>
  <li>I have tried various combinations of having the web view in the storyboard / not in the storyboard / in a scroll view etc</li>
  </ol>
  
  <p>I would be very interested if others have had this problem and how they got over it / worked around it. I find it strange I have not been able to find many similar problems on SO; I must be doing something stupid...</p>
  
  <hr>
  
  <p>Note, I am using a UIWebView so I can display rich text. I understand I can display rich text using other controls, but the program that makes the text that I want to display can only export rich text using HTML.</p>