Y/N: Is it possible to set one cell inside of a uitableview that has multiple cells to have a dynamic height that changes depending on the value of text it holds?
+2
A:
Yes. You can specify the height of a cell by implementing tableView:heightForRowAtIndexPath:
in your UITableViewDelegate
. You can get the row height using NSString's sizeWithFont:constrainedToSize:lineBreakMode:
method.
Jason Jenkins
2009-12-07 19:06:17
Wow, great! Thanks for at least pointing me in the right direction. I'll get going on figuring out how to implement those methods. Thanks again.
Steve
2009-12-07 19:12:32
Search on StackOverflow, there are a number of examples.
Kendall Helmstetter Gelner
2009-12-07 21:47:50