title: Resizing a UITextView in UIScrollView using Auto Layout issue
body: <p>I really hate to ask here because I usually try to figure things out on my own. But on this one I've stuck for days and can't find a solution anywhere online.</p>
  
  <p>I have a ScrollView containing multiple subviews. I've got an image view and two labels at the top with fixed heights. Then there is a UITextView and another ImageView (see pictures).</p>
  
  <p>I add the text to the text view programmatically so it should have a dynamic height and the ImageView should move to the bottom so you can scroll. I don't want the TextView to be scrollable in itself but I want all the subviews to move as well.</p>
  
  <p>I know I should be able to solve this issue using constraints. But I feel like I've tried everything and nothing worked yet. It worked when I disabled auto layout and moved the views manually. I'm wondering if there is a better way though.</p>
  
  <p><img src="https://i.stack.imgur.com/FKsAQ.png" alt="enter image description here"></p>
  
  <p>As you can see I pinned the TextView to the ImageView above with a 1,000 priority and to the ImageView below with a 1,000 priority. The height constraint can not be deleted so I set it to the lowest possible priority. The ImageView on the bottom is pinned to the bottom of the superview with an absolute height. Its height constraint also has low priority. (I can post an image of the ImageView's constraints, if it helps)
  I also tried adapting the frame programmatically but this is not working well in combination with auto layout. (If it helps I can of course post the code)</p>
  
  <p>What am I doing wrong? Shall I just disable auto layout and do it manually? This seems unclean to me. Is it even possible to do?</p>
  
  <p>I really appreciate your help :)
  Greets,
  Jan</p>