I have a RootViewController class which is inherited from UITableViewController. When a cell is deselected by the user I want to enable/disable certain buttons on the toolbar. How do I trap the deselect event?
-(void)tableView:(UITableView *)tableView deselectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated { if(indexPath.row <= rowNumber) { [viewButtton setEnabled:NO]; [editButtton setEnabled:NO]; } }
I tried using this method but it doesn't seem to execute at all. Any ideas how cam this be done?