Its been bugging me for absolutely weeks now, but I can’t find out how to get links in bodies of text like in the facebook iphone app.
The specific word that is a link is a different color to the rest of the text and when clicked changes color and has a gray box around it.
The only way I can think is with a UIWebView – but I’m pretty positive that that’s not the way facebook does it.
Any ideas? – i would need the text to disclose to another view – so it would need to run a method if possible.
Thank you
You can check out Three20 library, which is exactly what sits inside of Facebook. You can find the exact solution they’re using inside.
However, some people find Three20 a bit overheaded, since you have to import most of the library for the sole label. That’s why I personally prefer FancyUILabel from Craig Hockenberry who worked on Twitterrific – you can find it here.