i have several table views in my app. I am familiar with the usual behaviour of tables, that when you select a row and progress to a pushed view, it turnes blue, then when y
apparently viewWillAppear: of the class UITableView does deselect all cells, even without reloading the cells. The trick described worked for me:
code from my UITablViewController:
- (void)viewWillAppear:(BOOL)animated
{
NSIndexPath *selectedIndex = [self.tableView indexPathForSelectedRow];
[super viewWillAppear:animated];
//Re select cell
[self.tableView selectRowAtIndexPath:selectedIndex animated:NO scrollPosition:UITableViewScrollPositionNone];
};