开发者

UITableView didSelectRowAtIndexPath method not firing

开发者 https://www.devze.com 2023-03-01 10:44 出处:网络
I placed a TableView on my xib file with the following method -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{

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

0

精彩评论

暂无评论...
验证码 换一张
取 消