What is -[UITableViewDelegate willDisplayCell:forRowAtIndexPath:] for?

You use that to configure things like font and text color. In the newer version of the iPhone, with certain table configurations, if you configure things like the label text color in the tableView:cellForRowAtIndexPath: method, your changes will be lost at some point before the cell is actually displayed. Here you can do things like change the label’s color, adjust background highlighting, such things as these.

Leave a Comment