title: UITableViewCell's layer not getting updated after heightForRowAt IndexPath
body: <p>I am changing the size of each TableViewCell with:</p>
  
  <pre><code>override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -&gt; CGFloat {
      return 60
  }
  </code></pre>
  
  <p>Then, within the custom cell class, I am inserting a 'gradientLayer' as a sublayer to the Cell's layer property:</p>
  
  <pre><code>override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
      ...
      gradientLayer.frame = self.layer.bounds
      layer.insertSublayer(gradientLayer, at: 0)
      ...
  }
  </code></pre>
  
  <p>However, the gradient is not filling up the whole cell:
  <a href="https://i.stack.imgur.com/m47sF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m47sF.png" alt="enter image description here"></a></p>
  
  <p>Does anyone know why this is happening/how I can fix it?</p>
  
  <p>Thank you.</p>