Clicando em NSURL em um UITextView

eu tenho umUITextView que abrange 100,0 pontos na minhaUIView.

NoUITextView, Tenho links que são capturados com a seguinte função:

- (BOOL) textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange

Isso funciona muito bem para capturar certos caracteres, mas eu tenho um problema: se o link for o último caractere na exibição de texto, a torneira será pressionada por toda essa linha.

Portanto, se eu tiver a exibição de texto com o seguinte texto, onde @test é o link:

// The entire remainder of the line will be the link (all the white space after @test)
Hello @test

Como faço para corrigir isso?

questionAnswers(3)

yourAnswerToTheQuestion