Xetius
Xetius

Reputation: 46844

text layout in custom rendered UITableViewCell

I am trying to custom render text within a UITableViewCell. This text can be over a number of lines and can contain http links, font and colour changes. I have looked at the sizeWithFont methods of NSString, but can't really work out a good way of rendering each part of the string so that it all runs together correctly.

Do I need to render each word separately to get it to fit properly, or is there a better way?

Upvotes: 0

Views: 519

Answers (1)

David Maymudes
David Maymudes

Reputation: 5654

can you just generate appropriate HTML and render the whole thing with a UIWebView?

Upvotes: 2

Related Questions