title: How to use different size of image in different iPhone size classes in Xcode
body: <p>I am currently developing an app and I wish it to be used in multiple size classes.</p>
  
  <p><a href="https://i.stack.imgur.com/jnNcb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jnNcb.jpg" alt="enter image description here"></a></p>
  
  <p>As you can see from the image attached, my trophy image does not resize itself at all. </p>
  
  <p>I have included 3 different sizes of the image in the assets folder and set the image into "Aspect fill" but it does not seems to work.</p>
  
  <p>Update: I have set the the constraints for my image to both top and bottom container but it results the same.</p>