Change header section color when deleting the cell

When deleting a cell in the location details view controller that will also remove the section header. There is a grey background-color that gets. Any tips on how to go about changing the color opacity to 0?

Hi @mcneils, have you tried using UIColor.white( ) or changing to another color for the header?

So when I add this line of code.

self.tableView.backgroundColor = UIColor.clear

In the viewDidLoad override in LocationsViewController, when deleting the last cell in a category, it does change the color to white. BUT when I do .black, it does a grey color and not a black one??

@mcneils Do you still have issues with this?

Yes, still haven’t been able to solve it.

This topic was automatically closed after 166 days. New replies are no longer allowed.