views:

134

answers:

2

What's the difference between an highlighted UITableViewCell and an selected UITableViewCell?

For me, both things are the same thing. Where are the differences?

A: 

selected UITableViewCell will be highlighted UITableViewCell only untill another UITableViewCell is selected... where highlighted UITableViewCell is highlighted throughout the application... That's the only difference i guess...

mihirpmehta
+2  A: 

Highlight is when you touch the row.

Selected is when the row actually gets selected and didSelectRowAtIndexPath: is called. In a standard UITableView, there is usually a small delay between the highlight and the select.

Sam V