views:

44

answers:

1

I have a tableview that is basically four sections in length, designed for user input. I am not using headers or footers as of now.

Section 0 has 4 rows. Section 1 has 2 rows. Section 2 has 1 row. Section 3 has 1 row.

I want to have section 2 and 3 a little closer together and sections 0 and 1 a little closer together - basically configuring the space in between cells.

I have searched far and wide and have found nothing specific on how to do this. Suggestions?

Thank you in advance,

+2  A: 

Handle

- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section

More info here:

http://stackoverflow.com/questions/1386826/uitableview-not-respecting-heightforheaderinsection-heightforfooterinsection

Lou Franco
I tried the above handle, without success. I will need to read through that article link you provided and report back. Thank you.
newDeveloper
There's a minimum. Also there's a way to put your own views in the header.
Lou Franco