I set the content of a UIWebView using loadHtmlString:. I don’t add them to the UIView until they are need, but I need to know the max scroll height of each of them.
The problem is that UIWebView doesn’t start loading it’s data until it’s added to a superView, and It’s the delay of loading content that is causing this problem.
Question: Is it possible to force a UIWebView to load its content, without being added to a view?
You can add it to the view and set it’s opacity to 0.01 to force the load. I’ve had to do this with MKMapView before.