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.
views:
28answers:
2
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
2010-10-18 18:11:21
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
2010-10-18 18:35:41
Ill take a look thanks.
Forgoten Dynasty
2010-10-18 19:03:02