forkingdog / forkingdog/UITableView-FDTemplateLayoutCell
cell label高度计算过高
Open
- Dominant language
- Objective-C
- Stars
- 9.9k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
return [tableView fd_heightForCellWithIdentifier:@"TheCell" configuration:^(id cell) {
TheCell *payCell = (TheCell *)cell;
payCell.saveMoney.text = @"节省三百块现大洋,又节省了六百块American dollars,it's perfect,so, line feed now";
}];
cellForRowAtIndexPath 里
cell.saveMoney.text = @"节省三百块现大洋,又节省了六百块American dollars,it's perfect,so, line feed now";
通过分层看,cell中的label高度远超过使用 return UITableViewAutomaticDimension 计算的高度。实际占用的高度也是后者正确。 xib画的cell。

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.