項(xiàng)目需求应狱,cell的自定義contentView沒(méi)有占滿整個(gè)cell筛谚,導(dǎo)致點(diǎn)擊時(shí)點(diǎn)擊效果很難看寞忿,可以自定義cell的點(diǎn)擊背景及顏色交胚,label也可以定義highlLighted的字體顏色
自定義cell背景及顏色
cell.selectedBackgroundView= [[UIViewalloc]initWithFrame:self.frame];
cell.selectedBackgroundView.backgroundColor=COLOR(243,245,249,1);
定義label highLight字體顏色
label.highlightedTextColor= [UIColorblackColor];