title: iOS Image View - Height equal to the size of width
body: <p>I'm just to create an image that spans the entire screens width. The image is a square (512x512) and the idea is to scale to the width of the device while maintaining aspect ratio. I've tried doing this with contraints, setting the margins to <code>left: 0, top: 0, right: 0</code> and keeping the image at <code>aspect-fill</code>. The issue however, is that the image is becoming larger than the screens width, and thus the image is not only being cut off on the left and right, but is much taller than it should be. </p>
  
  <p>How can I properly size an image to have the same width/height has the width of the device? </p>