Auto layout with Scrollview and sticky view
<p>So you I have this ViewController in a storyboard which has a UIScrollView with several views added to it. The selected view (sticky) in the image below, which doesn't have correct constraints, is supposed to stay on top of the scrollview when scrolling. Now the 'description' is a dynamic height text. The selected view should stay at the bottom of the 'description' text but when it has reach the top of the scrollview it will remain at the top.</p>

<p>What's the best approach to use here? </p>

<p>Thanks</p>

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