title: Two states on UITableViewCell and AutoLayout breaking constraints
body: <p>I'm trying to do a two different states for <code>UITableViewCell</code> but when I change the size of the cell, this change break many constraints <code>AutoLayout</code>.
  The two states are:</p>
  
  <p><a href="https://i.stack.imgur.com/b6aR0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b6aR0.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Kfxxp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Kfxxp.png" alt="enter image description here"></a></p>
  
  <ul>
  <li>Yellow is the cell </li>
  <li>Gray is custom <code>UIView</code></li>
  <li>Orange is another <code>UIView</code> inside A </li>
  <li>Red are two <code>UILabel</code> inside B</li>
  </ul>
  
  <p>Initial state is unfolded but when I reduce the <code>height</code> of the row to change to folded state, many constraints (mainly <code>UIView B</code> and <code>UILabels</code>) break <code>AutoLayout</code></p>
  
  <p>Steps:</p>
  
  <ol>
  <li>Clic on cell, and change size of the cell</li>
  <li>Hide <code>UIView</code> B</li>
  <li>Reload <code>UITableView</code></li>
  </ol>
  
  <p>Is there any way or approach no avoid breaking constraints? Maybe two different cell designs?</p>
  
  <p>Thanks!</p>