title: Aspect fill and Aspect fit swift
body: <p>I am trying to create a news feed with a title, description and image. I am using auto layout and I can't correctly auto resize my image (i.e. width, that fills all screen and resizable height, that keeps ratio of original image).</p>
  
  <p>I found a solution using "Aspect fit" mode for image view, but a big blank space is a real problem sometimes:</p>
  
  <p><img src="https://i.stack.imgur.com/tlWTM.png" alt=""></p>
  
  <p>I searched everywhere, and didn't find a solution to this problem. </p>
  
  <p>Another option is tp use "Aspect fill" mode, but it doesn't show the whole picture:</p>
  
  <p><img src="https://i.stack.imgur.com/NyHx7.png" alt=""></p>
  
  <p>I can't believe it is impossible to resize an image and show it on screen with specific constraints, without blank spaces.</p>