标签:
- (void)buttonClickedWith:(UIButton *)button event:(UIEvent *)event { NSSet *touches =[event allTouches]; UITouch *touch =[touches anyObject]; CGPoint point = [touch locationInView:mainTableView]; NSIndexPath *indexPath= [mainTableView indexPathForRowAtPoint:point]; }
通过点击cell上的Button获取tableView的indexPath
标签:
原文地址:http://www.cnblogs.com/rgshio/p/4922406.html