美文网首页
UITableView 左划按钮

UITableView 左划按钮

作者: 夜未殇 | 来源:发表于2017-04-26 15:39 被阅读0次
- (NSArray<UITableViewRowAction *> *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    UITableViewRowAction *action = [UITableViewRowAction 
    rowActionWithStyle:UITableViewRowActionStyleNormal title:@"删除" 
    handler:^(UITableViewRowAction * _Nonnull action, NSIndexPath * _Nonnull indexPath) {
        
    }];        
    return @[action];
}

相关文章

网友评论

      本文标题:UITableView 左划按钮

      本文链接:https://www.haomeiwen.com/subject/fugizttx.html