Am working for an iPhone app with using UITableView
. In my tableview i have multiple sections with multiple cells. I want to give the cell background color for each cell. That means each cell should have different colors
.
Ex: If there is 20 cells means each 20 cells should have a different cell background colors.
Can you please tell me if it is possible to give cell background color/image to each cell? Can you please guide me to do this?
Thanks in advance.
EDIT
My Tableviewcell color will be like below,
First Cell background color : white color
Second Cell background color : red color
Third Cell background color : orange color
Fourth cell background color : gray color
Fifth Cell background color : white color
Sixth cell background color : white color
Seventh cell background color : white color
Eight cell background color : gray color
Ninth cell background color : red color
Tenth cell background color : red color
I want to give the tableview cell background color like this. Then the background color will be change when the UITableView reload or newly opening. Can you please help me to do like this? It is possible to do in iPhone app tableview?
Thanks in advance.