Removing cell borders from a section of grouped-style UITableView

后端 未结 15 2144
南旧
南旧 2020-12-04 07:56

I have a UITableViewController initialized with the grouped style and having multiple sections. For one of these sections, I\'d like its constituent cells to be completely t

15条回答
  •  忘掉有多难
    2020-12-04 08:07

    You have to actually set

    tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    

    to remove the border of cells.

提交回复
热议问题