Reputation: 158
I'm trying to create a app having zoom in/out on image .So anyone say the delegates for zoom.
Thanks in advance,
BrightRaj
Upvotes: 0
Views: 1134
Reputation: 16543
First Create a ScrollView Then Set the maximumZoomScale and minimumZoomScale. Then return the image by using this delegate
-viewForZoomingInScrollView:
And then use this method
-scrollViewDidEndZooming:withView:atScale:
to do what action you want when zooming.
Upvotes: 2
Reputation: 15115
Place your image over UIScrollView..
Handle the zoom function using the delegate
– zoomToRect: animated:
Upvotes: 0