title: UITabIeView CustomCell is not working properly before scrolling... in swift
body: <p>I am trying to design a comments Controller but unfortunately i am doing something wrong . I used uiTableview for this purpose.</p>
  
  <p>On run time my customcell with more comment text is hiding behind the customcell with less amount of data.</p>
  
  <p><a href="https://i.stack.imgur.com/k3uRo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k3uRo.png" alt="enter image description here"></a>    </p>
  
  <p>This is the layout structure</p>
  
  <p><a href="https://i.stack.imgur.com/tzK51.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tzK51.png" alt="enter image description here"></a></p>
  
  <p>As shown above customcell has a uiimageview and a stackview. Stackview has to uilabels. I also setted stackview distribution to proportionally.</p>
  
  <p>Although when i scroll everything becomes fine.</p>
  
  <p><a href="https://i.stack.imgur.com/AxLKe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AxLKe.png" alt="enter image description here"></a>  </p>
  
  <p>I also used this in on ViewDidLoad</p>
  
  <p>tableView.rowHeight = UITableView.automaticDimension</p>