I found a solution.
In UITextViewDelegate, there is a method:
textView:shouldInteractWithURL:inRange:
If you return NO, you can intercept the click and the longclick of the link.
- (BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange
{
[self MAKE_YOUR_ACTION];
return NO;
}
It works only in iOS7. In older versions the only solution I found was the one suggested by @Anc Ainu in the comments of the question.