1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Monitoring distance finger travels in X or Y direction

Discussion in 'iPhone/iPad Programming' started by RPGamerL99, Nov 9, 2008.

  1. macrumors newbie

    #1
    Is there an easy way for me to see how far the user drags his/her finger on the screen?
     
  2. macrumors 6502a

  3. macrumors regular

    #3
    Basically, you save a CGPoint to an instance variable when touchesBegan, then compare that when touchesMoved
     

Share This Page