How can i zoom in and out in a UIImageView without UIScrollView?
问题 I'm developing an app for iOS 4.2, iPhone, in this app I download images and I save them in the internal storage (NSDocuments). Well, then I show the first image in a UIImageView. The user can drag their finger on the UIImageView (TouchesMoved), when the user do that, I load other image. If the user drag down, I load one image, if drag up, i load other, and also with right and left. This is all done. But I want to implement zooming. This is my code until now: initialDistance --> is the