title: What constraints to set to have an ImageView automatically resize image to a fixed width but dynamic height?
body: <p>I am attempting to have an <code>UIImageView</code> autoresize itself to a variable height. The <code>UIImage</code> I am using can come in various different dimensions from the network, which is why this is important.</p>
  
  <p><a href="https://i.stack.imgur.com/u7DDM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u7DDM.png" alt="enter image description here"></a></p>
  
  <p>Imagine the above <code>UIImageView</code> is pinned to the top, left, and right. I want the <code>UIImageView</code> to resize only it's height based on whatever <code>UIImage</code> is downloaded.</p>