Setting Dynamic Height to UIScrollView Swift
<p>how can i set the dynamic height of <strong>UIScrollView</strong> based on the content/ subviews i have in my <strong>ScrollView</strong></p>

<p>Here is what i am getting as output:</p>

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