I have a table section with a bunch of custom cells, each of which has two UITextFields right next to each other.
When the table enters editing mode, I have to resize the right UITextField of each cell so that it doesn't get pushed off the screen by the delete minus sign that appears to the left of the cell.
I need to do a similar thing for when the user presses the delete minus sign and the "Delete"m button appears on the right side of the cell. I need to resize the right UITextField so that it isn't partially obscured by the Delete button. However, I can not find any protocol method or anything that alerts me when the delete button appears.
When the user swipes the row to delete, this method seems to work:
- (void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath
However, when the user presses the red minus button to delete, it doesn't call that function.