Y/N: UitableView Question
Y/N: Is it possi开发者_如何学Pythonble 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?
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.
精彩评论