0

I need to disable url selection from my text view. I have set the data detector property to an empty array and set func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {} method to return false. But it's still showing 'open link' option in clipboard when selecting the text. How do I disable this in my text view?

enter image description here

0 Answers0