Skip to main content
added 339 characters in body
Source Link

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;
    }
}

you can use viewForHeaderInSection and return a view with any height.

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;
    }
}
Source Link

you can use viewForHeaderInSection and return a view with any height.