I'm looking for an iPhone control that can simply display some text and detect URL's (http, email, tel) inside that text. UILabel doesn't support URL detection. UITextView can do that, but it's too h开发者_运维问答eavy for use in chat application that I'm developing. Any suggestions will be appreciated.
You can use the same tools that the facebook app uses: three20
Joe Hewitt, the developer behind the facebook app has open sourced much of his work. You can get it and many other goodies here.
Craig Hockenberry did it for Twitteriffic. He provides the downloads here: http://furbo.org/2008/10/07/fancy-uilabels/
精彩评论