'How can I make links tappable in a label with NSAttributedString?
I want to fetch a hmtl-text from Firestore, which can contain links.
Sample content:
This is a test. <p>
Within this text there is a <a href="https://google.com">link to Google</a>
<p>
More text...
How can I display it in a label and making the link automatically clickable? The content may contain more than one or no link.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
