// cell.backgroundColor = aColor; ios7
//ios6
cell.backgroundView = [[UIView alloc] initWithFrame:cell.frame];
cell.backgroundView.backgroundColor = aColor;
cell.selectionStyle = UITableViewCellSelectionStyleDefault;
cell.selectedBackgroundView = [[UIView alloc] initWithFrame:cell.frame];
cell.selectedBackgroundView.backgroundColor = color;ios7上tableviewcell的背景色和ios6的差别,布布扣,bubuko.com
ios7上tableviewcell的背景色和ios6的差别
原文:http://blog.csdn.net/xiaoyuertongxue/article/details/38703139