Photo viewer (with zooming, panning, zooming, etc.)? Three20 Alternative

I have an application with several pictures. If the user clicks on one of them, I want him to be able to zoom, pan, zoom and so on. I don't need something like Three20. First of all, I load images from a file inside the application, and secondly, I do not need the "library" function (which displays all the images in the> grid, for example Photos.app). Therefore, I need only part of the image on the left ...

enter image description here

How can i do this? Is there a "class sample" or tutorial?

Thank you very much!

+4
source share
2 answers

UIScrollView not only supports scrolling, but also scaling and shutting down, in fact it is a superclass of things like webViews and tableViews.

It is a matter of setting the UIImageView inside the UIScrollView and making the contentSize match and enable scaling (max / min scaling - 1.0 by default setting it to something else allows scaling).

+6
source

check out the Nibmus project , they have a good photo controller http://jverkoey.github.com/nimbus/group___nimbus_photos.html that sounds exactly what you are looking for.

+3
source

All Articles