Monitoring distance finger travels in X or Y direction

Discussion in 'iOS Programming' started by RPGamerL99, Nov 9, 2008.

  1. RPGamerL99 macrumors newbie

    Mar 10, 2008
    Is there an easy way for me to see how far the user drags his/her finger on the screen?
  2. SqueegyX macrumors regular

    Mar 24, 2008
    Basically, you save a CGPoint to an instance variable when touchesBegan, then compare that when touchesMoved

Share This Page