You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to interact with UITextViewDelegate method func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool. Specifically say there's highlighted text such as a mention or a hashtag as part of the attributed string. If the user taps that text we'd want to route them to a page with the associated information.
Is this possible? Or am I missing an alternative way to implement this behavior?
And awesome job with this framework! Love the simplicity and safety of the API's it's been fun to try it out over the last couple weeks : )
The text was updated successfully, but these errors were encountered:
I'm looking to interact with
UITextViewDelegate
methodfunc textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
. Specifically say there's highlighted text such as a mention or a hashtag as part of the attributed string. If the user taps that text we'd want to route them to a page with the associated information.Is this possible? Or am I missing an alternative way to implement this behavior?
And awesome job with this framework! Love the simplicity and safety of the API's it's been fun to try it out over the last couple weeks : )
The text was updated successfully, but these errors were encountered: