views:

28

answers:

2

I am parsing a group of post on a blog. I have some HTML that I successfully assigned to a string. I am trying to get the HTML to display in a UITableview. However, I want it formatted.
For instance I want <br /> to actually do a line break in the table and <img scr= to actually display the picture. How can I accomplish this.

A: 

You could put a UIWebView in your table cell as a subview.

Probably won't do much for your scrolling performance, but hey.

Jasarien
A: 

Don't ever ever ever use UIWebView in UITableView. It won't end well.

You should check out the Three20 project's TTStyledTextLabel, which will do some basic HTML formatting. I have used it with good results in the past.

Genericrich
Ill take a look thanks.
Forgoten Dynasty