title: Interface Builder: How To Set Only The Height As An Aspect Ratio
body: <p>When trying to set the constraints of a UIView in the interface builder. When I control drag it gives me the option to set a static height, width, or aspect ratio.</p>
  
  <p><img src="https://i.stack.imgur.com/vvAUr.png" alt="enter image description here"></p>
  
  <p>However adding this adds constraints to the width and height.</p>
  
  <p><img src="https://i.stack.imgur.com/dDcGG.png" alt="enter image description here"></p>
  
  <p>However I only want the height to be based on an aspect ratio (while the width is equal to the superview width). Can you suggest how I can set a height only aspect ratio constraint?</p>