views:

64

answers:

2

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
+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