UIGestureRecognizer and UITableViewCell issue

前端 未结 4 1601
囚心锁ツ
囚心锁ツ 2020-11-27 11:14

I am attaching a UISwipeGestureRecognizer to a UITableViewCell in the cellForRowAtIndexPath: method like so:

- (UITabl         


        
4条回答
  •  北荒
    北荒 (楼主)
    2020-11-27 12:05

    It will work with app delegate

    - (void)tableView:(UITableView*)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath
    {
    
    // code
    
    }
    

提交回复
热议问题