I have a webView which resize then an orientation change occurs.
On the iPhone simulator, the webView automatically reflows to fit the new width – great.
On the actual iPad, the content doesn't reflow and some of it gets cut off and requires scrolling when switching from landscape to portrait.
Any one seen this, or have any ideas to avoid?
I also need my webview to rescale when rotation occur.
I tried repaint, (refresh doesn't work because I fill the webview with html property, not url) and also setting scalestofit to false then back to true, and resetting the html property with the same html again, with no success.
I have the same problem. I've tried to .reload() and .repaint() in addition to resetting the html property with no luck. Any feedback would be great.
I am looking for a solution to this too. I cannot use reload() because why use the extra bandwidth especially on a cell network, plus my links are dead after 15 seconds for security reasons. What exactly does repaint() do? I see no difference with or without it. I was expecting it to redraw what has already been loaded, but that isn't the case