PDA

View Full Version : problem in set selectedTextcolor in uitableview cell in iPhone SDK 3.1.2




diyora
Oct 28, 2009, 02:50 AM
Hello,
I set selected text color in uitableview cell using cell.selectedTextColor = UIColor whiteColor; for iPhone SDK 2.2.1.
Now i use iPhone SDK 3.1.2, So for that i make change as per documentation for that i use textLabel properties. But selectedTextColor is not exit.

So Now for SDK 3.1.2 how to set selectedTextColor?..

Thank you.



dejo
Oct 28, 2009, 09:22 AM
So Now for SDK 3.1.2 how to set selectedTextColor?..
I believe cell.textLabel.highlightedTextColor is what you'll want to use now.