Hi,
I have a custom UITableViewCell with two UILabels in it. When I select the tableCell, I want the UILabels textColor to be white, until the selection is done (with [tableView deselectRowAtIndexPath:indexPath animated:YES]).
All of Apples custom cells do the same (look at settings app, contacts app, etc.).
I had a kind-of-solution: use -(void)setSelectedBOOL)selected animatedBOOL)animated;
But the problem is the label gets white too late (the cell will become black as soon as you touch it, but the labels will become white as soon as you let go the touch).
Also: where do I make the labels textColor black again, so that it animates from white to black precisely as the cell animates from blue to white?
I have a custom UITableViewCell with two UILabels in it. When I select the tableCell, I want the UILabels textColor to be white, until the selection is done (with [tableView deselectRowAtIndexPath:indexPath animated:YES]).
All of Apples custom cells do the same (look at settings app, contacts app, etc.).
I had a kind-of-solution: use -(void)setSelectedBOOL)selected animatedBOOL)animated;
But the problem is the label gets white too late (the cell will become black as soon as you touch it, but the labels will become white as soon as you let go the touch).
Also: where do I make the labels textColor black again, so that it animates from white to black precisely as the cell animates from blue to white?