Uitableview cell dynamic height
<p>I am using two custom cells in a tableview. The first cell contains two labels. The second cell contains a label and a view(sub class of GMSMAPVIEW). I have used the following code for dynamic cell height.</p>

<pre><code>TableView.rowHeight = UITableViewAutomaticDimension
TableView.estimatedRowHeight = 160.0
</code></pre>

<p>I have set proper contraints for all the cell elements. The problem I am facing is: The first cell is perfect. But the second cell doesnot show me the mapView.(Means the second cell's height is reduced to just 44). Which hides my mapview in that cell. Am I missing anything?</p>

<p>This is the screen shot of my tableview:
<a href="https://i.stack.imgur.com/p6YvB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p6YvB.png" alt="enter image description here"></a></p>

<p>The Essential Information cell is the one with the issue. Constraints for Essential information label are:<a href="https://i.stack.imgur.com/cEqbH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cEqbH.png" alt="enter image description here"></a></p>

<p>Constraints for the mapView are:<a href="https://i.stack.imgur.com/RnJrD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RnJrD.png" alt="enter image description here"></a></p>