I have a UIWebView which i've set the height of the WebView to
[[webView stringByEvaluatingJavaScriptFromString:@"document.body.offsetHeight"] floatValue];
This works fine but on my webpage I have a menu which is expandable, so when the webpage is changing it's height the WebView doesn't increase/decrease it's size.
Any tips how I can make my UIWebView change height dynamically when the webpage is changing its size?
I would very much like to keep the UIWebView's size = webpage so I never have to scroll in the WebView.