title: Deselecting the table view row when returning
body: <p>I followed Luke Redpath's suggestion here - <a href="https://stackoverflow.com/questions/2803061/selected-uitableviewcell-staying-blue-when-selected">Selected UItableViewCell staying blue when selected</a> - to deselect the row when returning to the original table view, but I can't get it working. In fact the method doesn't get triggered.</p>
  
  <pre><code>- (void)viewDidAppear:(BOOL)animated
  {
    [super viewDidAppear:animated];
    [self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:YES];
  }
  </code></pre>
  
  <p>I suspect this is because the class isn't a <code>UITableViewController</code>, but a <code>UIViewController</code> with the <code>tableView</code> as a property connected up to the NIB.</p>
  
  <p>How would I get the same behavior - ie deselecting when returning?</p>