I have a UITableView that is added to the view as a preview. When you select a row, a new view will be present with pushViewController:, and the user can click the back button to return to the UITableView, but then the cell is still selected.
Is there a way to deselect when a view appears?
I read that I have to use the following code, but I cannot get it to work. No errors, no warnings, nothing.
[tableProgram deselectRowAtIndexPath:[tableProgram indexPathForSelectedRow] animated:NO];
source
share