动态改变UITable单元格高度? [英] Dynamically change UITable cell height?
本文介绍了动态改变UITable单元格高度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要根据内容大小/长度来调整单元格的高度。有几种方法可以确定高度而不重叠?
I need to resize the cell height based on the content size/length.tried several methods, which one gives the exact height without overlapping?
推荐答案
请参阅本教程以了解更改 UITableViewCell
动态高度..
see this tutorial for change UITableViewCell
Height Dynamically..
并使用本教程..
uitableviewcell-dynamic-height
也使用 tableView:heightForRowAtIndexPath:单元格设置高度的方法 indexpath
also use tableView:heightForRowAtIndexPath: method for set height of cell with indexpath
这篇关于动态改变UITable单元格高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文