views:

277

answers:

1

In Safair mobile you can zoom in by double taping if you have a html page that you display. But if you use a uiwebview and display an image or pdf file you have to pinch open to zoom.

My question is: what do I have to do to get double tap to work when displaying an image or pdf file i a uiwebview?

Can you make the uiwebview a sub view under a uiscrollview, will you then be able to double tap an zoom? And how would you do that?

A: 

What a double tap in Mobile Safari really does is focus on the content. It will find the div or section on the web page that you tapped on and then zoom to focus. It is not simply 'double tap to zoom'.

St3fan