How to perform a cell deselection when a user returns to a table view?
- by Panagiotis Korros
I am using a UITableView to display a list of cells, when the user selects a cell then a new view appears by using the following code:
- (void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[self.navigationController pushViewController: detailsViewController animated: TRUE];
}
By using the code above,…