In iOS 15,
UITableView adds a separator between a section header and the first cell:
How can I hide or remove that separator?
A few notes:
- The header is a custom view returned from
- When looking at the view debugger, I can see that the extra separator is actually a subview of the first cell, which now has a top and a bottom separator.
- Other than setting
tableView.separatorInsetto change the inset of cell separators, this is a completely standard table view with no customizations.