I know how to change the height of the section headers in the table view. But I am unable to find any solution to change the default spacing before the first section.
you can use viewForHeaderInSection and return a view with any height.
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
int height = 30 //you can change the height
if(section==0)
{
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, height)];
return view;
}
}