老顽童

2012年4月18日 #

UITableView滑动删除

摘要: - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath{ NSLog(@"点击了删除"); if (editingStyle == UITableViewCellEditingStyleDelete) { [self.infoItems removeObjectAtIndex:(indexPath.row*2)]; [s... 阅读全文

posted @ 2012-04-18 10:23 老顽童 阅读(1624) 评论(0) 推荐(0) 编辑

导航