title: UITextView double tap to edit
body: <p>So I have a UITextView I'm using to make a moveable, editable label (My prior searches on SO showed this to apparently be the best option). I need to have the user double tap to enable editing and set it to become the first responder. I can't find a way to do this, and all my other searches have turned up either outdated answers or vague answers. Nothing I've tried seems to work. I've tried using the <code>UITextViewDelegate</code> to have it start editing as opposed to selecting text using <code>textViewDidChangeSelection:</code>, but it doesn't work until you change the current selection. I also tried using a custom <code>UITapGestureRecognizer</code> like so:</p>
  
  <pre><code>UITapGestureRecognizer *doubleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(doubleTap:)];
  [doubleTap setNumberOfTapsRequired:2];
  [doubleTap setNumberOfTouchesRequired:1];
  [newLabel addGestureRecognizer:doubleTap];
  
  -(void)doubleTap:(UITapGestureRecognizer *)sender
  {
      NSLog(@"Double tap detected");
      NSLog(@"Sender view of class %@", [[sender view] class]);
      UITextView *tappedView = (UITextView *)[sender view];
      [tappedView setEditable:YES];
      [tappedView becomeFirstResponder];
  //    [tappedView setEditable:NO];
  }
  </code></pre>
  
  <p>The double tap gesture is never called. I'm not sure why. Strangely, it also doesn't select text either while it's like that. It seems to just break double tap gestures. Is there a way to get rid of the standard double tap selection gesture, or to modify it? Should I subclass UITextView and, if so, what would I change?</p>