Search code examples
iphoneobjective-cipaduitableview

UITableViewCell Background Color?


I have done a fair bit of googling on this and I can't find the right solution. I have a UITableView of which I want to change the colour of the background of the cells. I have found solutions to doing this but it only deals with cells which have content or data as it were.

I need to colour the background of those unused cells as well.


Solution

  • Try setting the background colour of the tableView itself. Those "empty cells" at the bottom aren't really cells at all - they're just separator lines drawn over the background.