Reputation: 2639
I have a UIViewController which contains a UITableView. Everything is in place :datasource, delegate, wired everything in IB. didSelectRowAtIndexPath is not called all the time. I have no transparent views or buttons that would cover the rows I touch. Any ideas why this is happening?
No fancy things in didSelect:
-(void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath {
NSLog(@"IT WORKS");
}
Upvotes: 0
Views: 160
Reputation: 1818
I found it! You used did*De*selectRowAtIndexPath instead of didSelectRowAtIndexPath.
Upvotes: 2