Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between a highlighted UITableViewCell and a selected UITableViewCell?

A UITableViewCell reflects two distinct states: Highlighted and Selected.

For me, they sound identical so what exactly are the differences?

like image 372
dontWatchMyProfile Avatar asked Apr 17 '10 10:04

dontWatchMyProfile


1 Answers

Highlight happens on touch down.

Selected happens on touch up, followed by the call to didSelectRowAtIndexPath:. In a standard UITableView, there is usually a small delay between the highlight and the select.

like image 120
samvermette Avatar answered Oct 20 '22 20:10

samvermette