iphoneuitableviewgrouped-table

Change the color in between cells in grouped table view


I need to know how to change the color in between the cells in Grouped UITableView

Note: the UITableView have a Background color of some other color

So, How to implement the following:

enter image description here


Solution

  • I do believe the correct way to do this is setBackgroundColor for the tableview. you can do this in the viewDidLoad method so the color is already set when the view loads

    Edit:

    I would suggest make a custom subclass of UITableViewCell with the background color/image already included in the cell. Then you would have to also set the headers and footers to have the same background color/image. I believe this would be the easiest way to accomplish what you want