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

dok24

macrumors newbie
Original poster
Jun 30, 2011
11
0
Hey all,

I have a quick question...

Basically, I have a UIScrollView, with a UIImageView imbedded into it. What I want to do is get the mouse clicks in relativity to the image and not the scrollview. Is there any way to accomplish this?
 
Mouse clicks?? I'm assuming you mean touches simulated by mouse clicks in the simulator.

UIView has convertPoint:toView: and convertPoint:fromView: methods which will translate a point to/from the coordinates of another view.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.