title: UIWebView incorrect content height
body: <p>I'm trying to resize a <code>UIWebView</code> so that it fits the entire contents of the loaded page. To do this, I get the content height of the webview's scrollview, and set the height of the webview to that value. </p>
  
  <p>For anything with content height over 200, this works just fine, and the view scales to exactly fit the page without any extra space.  But with content of height under 200, the webview seems to hit some sort of height floor, and <code>webView.scrollView.contentSize.height</code> won't return any values under 200.  I'm left with a ton of whitespace.  </p>
  
  <p>There are a number of posts on this topic, but none seem to cover this particular issue.  What is the best way to return the actual content height when that value is under 200?</p>
  
  <p>EDIT: Here's an example of HTML that should render quite short, but ends up being 200pt tall.</p>
  
  <pre><code>&lt;meta name='viewport' content='width=device-width, user-scalable=yes'&gt;
  &lt;html&gt;
  &lt;head&gt;&lt;/head&gt;
  &lt;body style='font-family:Helvetica neue; font-size:1.0em; color:#181818; -webkit-font-smoothing: antialiased;'&gt;&lt;div&gt;
  Here's some example content.
  &lt;br/&gt;&lt;/div&gt;
  &lt;/body&gt;
  </code></pre>