Lope Lope - 7 months ago 40
iOS Question

Create tap-able "links" in the NSAttributedText of a UILabel?

I have been searching this for hours but I've failed. I probably don't even know what I should be looking for.

Many applications have text and in this text are web hyperlinks in rounded rect. When I click them UIWebView opens. What puzzles me is that they often have custom links, for example if words starts with # it is also clickable and the application responds by opening another view. How can I do that? Is it possible with UILabel or do I need UITextView or something else?


FancyLabel is exactly what I needed :)