The default colour for text in a UITableView when selected is white. I want to change this to dark grey. I managed to change the main title label text by doing this:
cell.selectedTextColor = [UIColor darkGrayColor];
How can I do this for the detailTextLabel though when it is highlighted/selected?
Thanks
You can subclass UITableViewCell. Then override the setHighlighted:animated Method:
You may end up wanting to override the setSelected:animated method too.