Change UITableViewCell background color When selected:
Cell.selectedbackgroundview = [[[Uiimageview alloc] initwithimage:[uiimage imagenamed:@ "Cellart.png"]] autorelease]; Click the background image
Cell.selectedbackgroundview = [[[UIView alloc] initWithFrame:cell.frame] autorelease]; cell.selectedBackgroundView.backgroundColor = [Uicolor xxxxxx]; Click Background color
and a font color.
Cell.textLabel.highlightedTextColor = [Uicolor Xxxcolor]; Set the color of the cell's font
[Thetableview Setseparatorcolor:[uicolor xxxx]]; Set the split Line color
5. Set the color of the font in the cell
Customize The appearance of Table view cells.- (UITableViewCell *)TableView:(UITableView *)TableView Cellforrowatindexpath:(Nsindexpath *)Indexpath{ if (0 == Indexpath.) { cell textlabel.= ...; cell.. Highlightedtextcolor = ...; } ... } /span>
UITableViewCell Click Change background color, title highlighting.