I have a UITextView with attributed text with multiple link's and those links have individual values for the keys and those links have click action on it.
When I am long-tapping on the link text and moving, I am able to see the value give to "NSAttributedString.Key.link". Either I have to disable the long-fess gesture or hide the value for "NSAttributedString.Key.link". Any Suggestions How can I achieve that.
let linkString = NSMutableAttributedString(string: name)
linkString.addAttribute(NSAttributedString.Key.link, value: "name:\(userID)_section:\(section)", range: NSMakeRange(0, name.count))
I am using the above code for link creations I have tried to remove long press gesture on UITextView but that did not work out