Hyperlinks in UITableViewCell
Edit:
The data in the cell can contain multiple lines of text with hyperlinks in between
I was trying to embed hyperlinks in my UITableViewCell. I have tried adding UITextView as a subview of the cell.. however, it makes scrolling jerky. After profiling I found out 30% of the time was taken by setText in UITex开发者_如何转开发tView.
Isn't there any other way beside adding the classes from the Three20 project.
Regards, Satyam Shekhar
The way I do hyperlinks is I create a UILabel
with the hyperlink text and then create a UIButton
of type UIButtonCustomType
that is transparent and give it an action to open an URL.
精彩评论