iPhone的UILabel带有URL检测功能 [英] iPhone's UILabel with URL detection
问题描述
我正在寻找一个iPhone控件,可以在该文本中显示一些文本并检测
URL(http,email,tel)。 UILabel不支持URL
检测。 UITextView可以做到这一点,但它太重了,无法在我正在开发的chat
应用程序中使用。任何建议将不胜感激。
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 heavy for use in chat application that I'm developing. Any suggestions will be appreciated.
推荐答案
您可以使用facebook应用程序使用的相同工具:three20
You can use the same tools that the facebook app uses: three20
Facebook应用程序背后的开发人员Joe Hewitt开源了他的大部分工作。你可以在这里获得它和许多其他好东西。
Joe Hewitt, the developer behind the facebook app has open sourced much of his work. You can get it and many other goodies here.
这篇关于iPhone的UILabel带有URL检测功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!