0
votes

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?

1
@Joe: about damn time you tried to help me! :) As far as I know (I'm trying to modify somebody else's code), there is no pinch-handling logic anywhere. I think we're just relying on the built-in UIWebView behavior.MusiGenesis
DAMMIT JOE!!!! HOW AM I SUPPOSED TO WRITE AMAZING MUSIC SOFTWARE WHEN I CAN'T EVEN ZOOM OUT ON AN EMAIL???MusiGenesis

1 Answers