Appropriate Threshold To Distinguish Dragging From Tapping

Discussion in 'iOS Programming' started by Darkroom, Jun 13, 2009.

  1. Darkroom Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #1
    does Apple suggest a specific float concerning this? currently i have my code set as 10 pixels for the threshold, but it seems that even that might be too small and potentially be mistook as a tap.
     
  2. Darkroom thread starter Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #2
    well, i just realized that Spring Board is the perfect example for views that accept both tapping and dragging. using the mouse with the simulator, i was able to see that apple employs a 10 pixel threshold before moving the view after a users taps and drags.

    good to know :)
     

Share This Page