Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

XuishX

macrumors newbie
Original poster
Oct 26, 2008
4
0
I manage to get my UIScrollview working with zooming and such.now I want to get the coordinate of the touched location on the image , how do I go about getting this data ?

I took a long time trying to solve this but to no avail :(

Thanks a million
 

Niiro13

macrumors 68000
Feb 12, 2008
1,719
0
Illinois
Subclass the view that's behind the UIScrollView and implement the touchesBegan and touchesEnded methods.

If it's an image, then subclass a UIView and draw the image.
 

developer.in

macrumors newbie
Nov 5, 2008
8
0
Subclass the view that's behind the UIScrollView and implement the touchesBegan and touchesEnded methods.

If it's an image, then subclass a UIView and draw the image.

In continuation to this problem, are there any good tutorials around for multi-touch? I'm trying to implement an app similar to the photo library. Using this I'm able to open the previous or next image when user swipes his finger. But can;t get the zoom and pinch to work!
 

XuishX

macrumors newbie
Original poster
Oct 26, 2008
4
0
thanks alot for the solution, now i am able to get my program working with great speed :D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.