- (void) webViewDidFinishLoad: (UIWebView *)sender
{
[self performSelector:@selector(calculateWebViewSize) withObject:nil afterDelay:0.1];
}
- (void) calculateWebViewSize
{
UIScrollView *webScrollView = [[myWebView subviews] objectAtIndex:0];
CGSize webScrollRect = webScrollView.contentSize;
NSLog(@"webScrollrect: %f", webScrollRect.height);
}
Add UIWebViewDelegate in .h file