Chris
Chris

Reputation: 5617

How to Make URLs clickable inside of UITableViewCell?

I know how to use UIWebView and can invoke a WebView if it is associated with a specific button or UITableViewCell. What I am trying to achieve is to have a UITableViewCell with a chunk of text. That chunk of text might contain a URL. I want to make the URL into a clickable link and have that link open into a WebView.

My thought so far has been that I need to detect a link and insert it as a UIButton within the cell... but I don't know if that is the right way to go about this.

Any ideas or input would be much appreciated.

Upvotes: 1

Views: 1107

Answers (1)

diederikh
diederikh

Reputation: 25271

Have a look at the TTLink class in combination with TTTableControlCell of the excellent Three20 project.

Upvotes: 1

Related Questions