views:

38

answers:

1

Hi
Totally stumped in debugging a simple swipe movement for my application. When I swipe in a left direction, I correctly get a touchesEnded message-method call.

BUT, if I drag in the other direction, touchesEnded does NOT get called.

Anyone have a clue as to why this might be? I'm using a TapDetectingView as my view for my viewController class. And user intraction and multiple touch are both enabled for this view in IB.

A: 

Hi there. I had some issues too, using GestureRecognizers and touchesEnded on a single view. My problem was, that I was either able to detect swipes OR touches when using GestureRecognizers only. What I ended up doing, was using SwipeGestureRecognizers to detect swipes and the touchesEnded Method for Taps. Using TapGestureRecognizers and SwipeGestureRecognizers on the same view didn't work.

samsam
I can't use the new GestureRecognizer mthods, because I need to calculate the velocity of the actual swipe.
eco_bach
ok, sorry about that i could't figure out your intentions by reading your post.
samsam