changing UITableViewCell background

I know this might have been asked thousands time, I tried changing the background for my UITablewViewCell via the following:

 cell.contentView.backgroundColor = [UIColor colorWithRed:0 green:0.188235 blue:0.313725 alpha:1];
              cell.textLabel.backgroundColor = [UIColor colorWithRed:0 green:0.188235 blue:0.313725 alpha:1];

and all I have now is:

enter image description here

How do I set that accessory view background view color as well?

UPDATE: I have a section header on top in which it has a white background

6
задан aherlambang 14 April 2011 в 01:47
поделиться