title: UIImageView and Auto Layout in Code
body: <p>I'm trying to use programmatic visual constraints to display a label and a button next to one another. However, the <code>UIImageView</code> used as the button's background is making the intrinsic size of the button much too large. </p>
  
  <p>I attempted to add a constraint that forces the height of the button to match the height of the label. But I just got a super tall label instead of a smaller button.</p>
  
  <ol>
  <li>How do I set a constraint so that the button height is the same height as the label (and not vice-versa)</li>
  <li>The button should keep the original aspect ratio of the image - its width should also match its own height (maybe this comes for free?)</li>
  </ol>