title: how can i capture the long press event of link in textView
body: <p>In my project ,there is a demand about UITextView. when I tap the link in UITextView, our app should open a webview Controller to show the linked content; when i long press the link in UITextView, our app should show some menu about copy and paste.now i can implement the second situation in UIInputViewDelegate</p>
  
  <pre><code>(BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange
  </code></pre>
  
  <p>although the shouldInteractWithURL is fired, i can't recognize the relative tag between the tap event and long press event.</p>
  
  <p>then i breakpoint at the end of </p>
  
  <pre><code>(BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange
  </code></pre>
  
  <p>method,and i use lldb to find some information about tap event and long press event as follow:</p>
  
  <p>long press event:</p>
  
  <pre><code>frame #1: 0x0000000112b46214 UIKit`-[_UITextViewInteractableLink allowInteraction] + 165
      frame #2: 0x0000000112b452c3 UIKit`-[_UITextViewInteractableItem handleLongPress] + 22
      frame #3: 0x0000000112b45055 UIKit`-[UITextView(LinkInteraction) validateInteractionWithLinkAtPoint:] + 287
      frame #4: 0x00000001125edac9 UIKit`-[UITextInteractionAssistant(UITextInteractionAssistant_Internal) longDelayRecognizer:] + 281
      frame #5: 0x00000001125dbb28 UIKit`_UIGestureRecognizerSendTargetActions + 153
  </code></pre>
  
  <p>tap event:</p>
  
  <pre><code>frame #1: 0x0000000112b46214 UIKit`-[_UITextViewInteractableLink allowInteraction] + 165
      frame #2: 0x0000000112b45181 UIKit`-[_UITextViewInteractableItem handleTap] + 33
      frame #3: 0x0000000112b45055 UIKit`-[UITextView(LinkInteraction) validateInteractionWithLinkAtPoint:] + 287
      frame #4: 0x00000001125ed782 UIKit`-[UITextInteractionAssistant(UITextInteractionAssistant_Internal) 
  </code></pre>
  
  <p>i find out some difference about the two event;<strong><em>handleTap</em></strong> or <strong><em>handleLongPress</em></strong> is fired in different scene. so any solution to capture the long press event or disable the system's long press event then add my own long press event to handle long event on linkedText in UITextView? </p>