I've a UITableView with some sections. I want that just one section had separator lines for rows.
I tried this:
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { ... if indexPath.section == 1 { cell.separatorInset = UIEdgeInsetsMake(0, 1, 0, 0) // With other values too. } ... return cell } but nothing happens.