localization in UIScrollView

Discussion in 'iOS Programming' started by dok24, Jun 30, 2011.

  1. dok24 macrumors newbie

    Jun 30, 2011
    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?
  2. jiminaus macrumors 65816


    Dec 16, 2010
    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.

Share This Page