UILabel keeps resizing to a height of 0 regardless of the text
<p>I have a UILabel with the following constraints </p>

<p><a href="https://i.stack.imgur.com/2eOml.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2eOml.png" alt="enter image description here"></a></p>

<p>and I set the number of Lines equal to 0. The layout on IB can be seen below. I want this UILabel to expand dynamically based on the text that I receive where the views below it get pushed down based on the height of the UILabel. However, that is not what happens. </p>

<p><a href="https://i.stack.imgur.com/oGdHO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oGdHO.png" alt="enter image description here"></a></p>

<p>As seen below, the UILabel doesn't appear at all. It seems to have a height of 0 regardless of what I set the text to be. Does anyone know what I need to modify to make this happen? Does anyone know why the UILabel has a height of 0?</p>

<p><a href="https://i.stack.imgur.com/Ic4g5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ic4g5.png" alt="enter image description here"></a></p>

<p>UPDATES:</p>

<p>Things I tried given the comments below. </p>

<ol>
<li><p>word wrap, nothing changed</p></li>
<li><p>adding a height constraint on UILabel, text gets cut off after the first line</p></li>
<li><p>height constraint with greater than or equal to constant, text still gets cut off after the first line</p></li>
</ol>