In my app, I'm using a UIWebView to view email contents. I'm setting its frame
to the size of the screen, and the contents are usually much larger than the screen size so I have to scroll up/down and left/right to view the entire contents.
I want to be able to zoom out by pinching the contents - which of course makes everything smaller - so that I can see the entire email on the screen at once. This is currently working, but the problem is that as soon as I lift my fingers off the screen, the contents "snap" back to their normal size.
How can I pinch-zoom a UIWebView so that it stays zoomed?