How do I enable the swipe gesture recognition for a UITextView?
This is my code and the event attach to it is not firing. It works for taps just not for swipes.
// Add swipe support for easy textview content clean up
UISwipeGestureRecognizer *swipe = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(eraseTextWithSwipe:)];
[targetContent addGestureRecognizer:swipe];
[swipe release];
How do I do that?