Our application contains UIWebview which displays a HTML page that uses touch events for the display of some images. The problem is with zooming HTML content. When the user touches the screen the html elements process it, and prevent default zooming behavior of the UIWebView. But I need both features. How can I solve the problem? Please help me. Thanks in advance.
Our application contains UIWebview which displays a HTML page that uses touch events for
Share
Hi You need to turn on the Scale Page to Fit property of WebView to YES
You can do this from Interface builder as follows

or you can do the same by
[
webView setScalesPageToFit:YES];Hope it helps.