2011-07-11 45 views

回答

2
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { 
    if (editingStyle == UITableViewCellEditingStyleInsert) { 
    //your code here 
    NSLog(@"user tapped insertion control"); 
    } 
}