标签: objective-c iphone cocoa-touch uitableview
我想根据来自网络的动态数据调整每个单元格高度。那么,我如何根据每个数据拟合单元格的高度?
答案 0 :(得分:0)
您应该在委托
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
查看Apple文档页面here