I have question for you …
I have UITableView and I want to catch event when user press the cell in order to change the color of label that I insert into UITableViewCell. The moment when user touch the cell.
- tableView:willSelectRowAtIndexPath:
- tableView:didSelectRowAtIndexPath:
functions didn’t help me …
Who have any suggestion ? Thanks a lot for help !!!
If you want to change the color of a
UILabelinside aUITableViewCellwhen it’s selected, you don’t have to do any sort of event catching. You just have to change thehighlightedTextColorproperty of theUILabel. The default is usually white.