UITableView didSelectRowAtIndexPath method not firing
I placed a TableView on my xib file with the following method
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
NSLog(@"FIRED THE EVENT");
}
and it doesn't seem to be firing when I click on a cell in the table. Is there something that I'm missin开发者_如何学Gog?
Be sure to include UITableViewDataSource
, UITableViewDelegate
in your .h file
精彩评论