Use the following Datasource method for a UITableView
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { // Return NO if you do not want the apply specified item to be editable. if("Your Condition") // such like indexPath.row == 1,... or whatever. return YES; else return NO; }
In short, return YES
for the specific row / cell you want to change otherwise return NO;
source share