We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e882981 commit e2c5422Copy full SHA for e2c5422
1 file changed
TableViewCellWithAutoLayout/TableViewController/RJTableViewController.m
@@ -175,8 +175,8 @@ - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa
175
// Get the actual height required for the cell
176
CGFloat height = [cell.contentView systemLayoutSizeFittingSize:UILayoutFittingCompressedSize].height;
177
178
- // Add an extra point to the height to account for internal rounding errors that are occasionally observed in
179
- // the Auto Layout engine, which cause the returned height to be slightly too small in some cases.
+ // Add an extra point to the height to account for the cell separator, which is added between the bottom
+ // of the cell's contentView and the bottom of the table view cell.
180
height += 1;
181
182
return height;
0 commit comments