Removing cell borders from a section of grouped-style UITableView

后端 未结 15 2117
南旧
南旧 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条回答
  •  Happy的楠姐
    2020-12-04 08:14

    This code worked for me :)

    [self.tableView setSeparatorColor:[UIColor clearColor]];
    [self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
    

提交回复
热议问题