请查看这张照片并帮助我,这对我来说非常重要。非常感谢
最佳答案
我会为此实现 heightforRowAtIndexPath,简而言之:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
//first image height must be fetched for the ccurrent image using indexpath.row...
//Then use the height to set cell height:
return imageHeight;
}
关于ios - Xcode UITableView 自定义单元 xib 图像高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22217765/