#pragma mark - 通过控件获取cell

-(UITableViewCell*)GetCellFromTableView:(UITableView*)tableView Sender:(id)sender {

CGPoint pos = [sender convertPoint:CGPointZero toView:tableView];

NSIndexPath *indexPath = [tableView indexPathForRowAtPoint:pos];

return [tableView cellForRowAtIndexPath:indexPath];

}

05-08 07:58