Possible Duplicate:
How to customize the background color of a UITableViewCell?
I am trying to set the text color of a cell but it is not working. Here is the code..
cell_center.backgroundColor = [UIColor redColor];
cell_center.textLabel.backgroundColor = [UIColor grayColor];
cell_center.selectionStyle = UITableViewCellSelectionStyleGray;
Here selection style is working but text color not affecting. Any idea what I am doing wrong?