Я был в
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
UISwipeGestureRecognizer *swipeLeftRight = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleGesture:)];
[swipeLeftRight setDirection:(UISwipeGestureRecognizerDirectionRight | UISwipeGestureRecognizerDirectionLeft )];
[cell addGestureRecognizer:swipeLeftRight];
-(void)handleGesture : (UIGestureRecognizer *)gec
{
if (gec.state == UIGestureRecognizerStateEnded) {
UITableViewCell *cell = (UITableViewCell *)gec.view;
UIImageView *imgDelete = [[UIImageView alloc]initWithFrame:CGRectMake(cell.frame.size.width-40, 15, 35, 35)];
UITapGestureRecognizer *deleteCell = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(deleteC)];
[imgDelete addGestureRecognizer:deleteCell];
imgDelete.image = [UIImage imageNamed:@"delete.png"];
imgDelete.userInteractionEnabled = YES;
[cell bringSubviewToFront:imgDelete];
[UIView animateWithDuration:0.5
animations:^(void){
[cell addSubview:imgDelete];
}completion:nil];}
}