When the UITextView is listening, I want it to continue to work as the first responder, but I need to fire other events as well. UITapGestureRecognizer works long before the UITextView is not the first responder, but after it is focused, the crane is no longer recognized.
UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(singleTapRecognized:)]; singleTap.numberOfTapsRequired = 1; [txtView addGestureRecognizer:singleTap]; [singleTap release]; -(IBAction)singleTapRecognized:(id)sender {
source share