开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜