iPhone: Putting only one section of UITableView in Edit mode
问题 I have three sections in my hypothetical UITableView. I'd like one section that is in editing mode. The rest of the sections to not be in editing mode. Is this possible at all? 回答1: This really shouldn't be a mystery, as it's spelled out clearly in the documentation. Simply use the datasource method - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath 回答2: This worked great for me. In the example below section 0 is not editable whilst the other sections