Search code examples
iphoneuiimageviewmovescalecrop

how move an image on mainview


i've got a problem with iPhone SDK. I want create an imageView that user can touch and move and scale as he wish.

How can i do this?

Thank you


Solution

  • the easy way is to put it in a UIScrollView and enable the methods of the UIScrollViewDelegate that you wan't to use (scrool / zoom)

    take a look at the apple sample project "PhotoScroller", you can find it in xCode help...

    ciao, luca