Content of UIWebView is bigger than it needs to be
Hi!
I'm struggling with a UIWebView that keep showing scroll bars, even though the page it presents is way smaller than the view. It seems like the web content is hard coded to have the height of the iPhone's screen, 480, even though the UIWebView only has a height of 411, so the UIWebView thinks that scrollbars are needed even though the page just has one line of text.
I don't want to turn of user interaction completely because in some cases the content actually is bigger than the view. In those cases I do want the scroll but only then!
Is there some way of changing the minimum height of a web page manually? I have tried injecting CSS in the page but it had no effect.
Thanks in advace!
|