I need to delete the space between tableviewcell and the safe area to add a background color
this is my tableview cell and my view controllerThis. is what i want, please help
[This is what i got, i need to delete that white space 2]
CodePudding user response:
I couldn't understand if you are using Xcode 13. If it's true, you can remove the "top padding".
Try make like this to remove in a specific UITableView:
tableView.sectionHeaderTopPadding = .zero
Or make like this in AppDelegate to remove to all UITableViews:
UITableView.appearance().sectionHeaderTopPadding = .zero