I have a simple issue with UITableViewCell. What I want is to change the text color of a selected cell. In my cellForRowAtIndexPath method, I set:<
UITableViewCell
cellForRowAtIndexPath
All that you have to do is
cell.textLabel.textColor = [UIColor whiteColor]; cell.selectionStyle = UITableViewCellSelectionStyleNone; cell.textLabel.highlightedTextColor = [UIColor orangeColor];
inside if(cell == nil)
that will work fine.