If I had 1000 rows, would an single-line separator make the table view bigger in height? Or is it an overlay on a cell only?
A:
It would make the table bigger!!! I think the separator has 1px in height.
schaechtele
2010-04-15 10:09:17
+3
A:
I've made simple test application - created UITableView with 1000 rows and manually set its content offset:
- (void) viewWillAppear:(BOOL)animated{
[table reloadData];
[table setContentOffset:CGPointMake(0, 44*500) animated:NO]; // rowHeight equals 44
}
Both with and without line separator table view scrolled to the same position. So it seems that line separator does not affect table's content size.
Vladimir
2010-04-15 10:15:41