iPhone UITableView : How to remove the spacing between sections in group style table?

后端 未结 9 1112
南方客
南方客 2021-02-05 09:33

I am creating a table view in which there are 10 sections, all having a header view but no cells. So, in short, my table view will display 10 header views only; there will be no

9条回答
  •  旧时难觅i
    2021-02-05 10:07

    So I can not up vote but I can post a reply

    The correct answer to this way in fact

    - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
         return CGFLOAT_MIN;
    }
    

提交回复
热议问题