cannyboy
cannyboy

Reputation: 24426

Change table view cell upon selection?

I have a UITableView a bit like the iPhone Mail app's in box. This includes the blue dot indicating the message is unread. How would set this image to hidden upon selection.. ?

There doesn't seem to be any way to refer to the cell within the didSelectRowAtIndexPath method.

Upvotes: 1

Views: 422

Answers (1)

Ole Begemann
Ole Begemann

Reputation: 135548

UITableViewCell *selectedCell = [tableView cellForRowAtIndexPath:indexPath];

Upvotes: 3

Related Questions