I have a custom UITableViewCell containing a UILabel where text quantity variables are displayed. The height for the cell is dynamically calculated to accommodate the amount of text.
The problem is that the UILabel / text is not reformatted in edit mode (Delete), as shown in the following screenshots.
I need to use custom cells, not standard textLabel, etc., since other lines have more complex situations with multiple controls than this one with UILabel alone.
a) Here are the table cells with the UILabel control. The height of each cell is dynamically calculated based on the amount of text.

b) When editing (red circle) appears in edit mode, which pushes text on the right side of the screen.

c) Then, when the edit control is selected and the "Delete" button is displayed, it overlaps the text.

The goal is for the text area (UILabel frame) to decrease its width and increase its height to fit all the text when editing starts with βb.β When the βDeleteβ button is displayed, βthe height of the text will remain unchanged, and the text, which does not fit, the "..." icon may be truncated and displayed.
source share