- (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]; }
时间: 2024-10-17 02:37:01