title: Resize UIWebView to its content
body: <p>In a UITextView i can resize the height of the control to it's content like this:</p>
  
  <pre><code>CGRect frame = textView.frame;
  frame.size.height = textView.contentSize.height;
  textView.frame = frame;
  </code></pre>
  
  <p>But i want to use an UIWebView instead in order to show rich text. The UIWebVie's content is:</p>
  
  <pre><code>NSString *myDescriptionHTML = [NSString stringWithFormat:@"&lt;html&gt; \n"
                                    "&lt;head&gt; \n"
                                    "&lt;style type=\"text/css\"&gt; \n"
                                    "body {font-family: \"%@\"; font-size: %@; }\n"
                                    "&lt;/style&gt; \n"
                                    "&lt;/head&gt; \n"
                                    "&lt;body&gt;%@&lt;/body&gt; \n"
                                    "&lt;/html&gt;", @"helvetica",
                                    [NSNumber numberWithInt:12], @"yadayadayada..."];
  [webView loadHTMLString:myDescriptionHTML baseURL:nil];
  </code></pre>
  
  <p>So the UIWebView contains nothing but plain text. How can i achieve result similar to the above UITextView code?</p>