title: How to get the content height of a UIWebView in iPhone sdk, objective-c?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3936041/how-to-determine-the-content-size-of-a-uiwebview">How to determine the content size of a UIWebView?</a>  </p>
  </blockquote>
  
  
  
  <p>Hai Guys,</p>
  
  <p>I got a problem while lodaing the htmlString into UIWebView, I have set the frame height of a webview in iphone is 265 always.</p>
  
  <pre><code>    webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 41, 320, 265)];
  </code></pre>
  
  <p>Is there any property to get content height of a UIWebView.</p>
  
  <p>If I got the content only one or two lines then it is looking odd below the two lines. How can I make it dynamic. Please suggest any solution.</p>
  
  <p>Thank you,
  Madan Mohan.</p>