title: How to reformat a custom UITableViewCell during editing mode to accommodate Delete controls?
body: <p>I have a custom UITableViewCell that contains a UILabel where variable amounts of text are displayed. The height for the cell is dynamically calculated to accomodate the amount of text.</p>
  
  <p>The problem is the UILabel/text is not being reformatted during the Edit mode (Delete) as shown in the following screen captures.</p>
  
  <p>I need to use custom cells rather than the standard textLabel etc. as other rows have more complex situations w/ multiple controls compared to this one w/ just a single UILabel.</p>
  
  <p>a) Here's the table cells w/ the UILabel control. The height of each cell is dynamically calculated based upon the amount of text.</p>
  
  <p><img src="https://i.stack.imgur.com/qXPWl.png" alt="Before edit"></p>
  
  <p>b) When the Edit mode starts the editing control (red circle) is displayed which pushes the text off the right side of the screen.</p>
  
  <p><img src="https://i.stack.imgur.com/xzBfj.png" alt="Edit control displayed, text off screen"></p>
  
  <p>c) Then when an editing control is selected and the Delete button is displayed it overlaps the text.</p>
  
  <p><img src="https://i.stack.imgur.com/Fd5cR.png" alt="Delete button overlaying text"></p>
  
  <p>The objective is to have the text area (UILabel frame) reduce it's width and increase the height to accommodate all the text when editing starts "b)". When the Delete button is displayed "c)" the text height would stay the same and the text that does not fit can be truncated and an elipsis "..." displayed.</p>