title: Maintain image quality in iOS Application
body: <p>I am trying to create a photo application but I am having a tough time formatting my photos so that they show clearly.</p>
  
  <p>I have an imageview size 320 * 500, and an image size 3648*2736 px (Which of course I can scale down).</p>
  
  <pre><code> imageView.contentMode=UIViewContentModeScaleAspectFit;
  </code></pre>
  
  <p>With   <code>imageView.contentMode=UIViewContentModeScaleAspectFit;</code> I changed the image size to 700* 525px (IMGA) and one 500 * 325(IMGB). 
  In this mode </p>
  
  <ul>
  <li>IMGA fills the entire image view but is somehow a little distorted/not crisp</li>
  <li>IMGB does not fill the entire image view Top and Bottom but the width is perfect and the image is crisp.</li>
  </ul>
  
  <p>UIViewContentModeScaleAspectFill
  With <code>UIViewContentModeScaleAspectFill</code>
  the image is made for fit into the uiimageview but again distorted even if the image is scaled down vs being scaled up.</p>
  
  <p>I see many apps with crisp large images . and I am hoping that someone helps me with measuring/ contentmode to get my images better.
  Or correct my resizing</p>
  
  <p>P.S I have been looking at this link to try help but I'm still missing my goal.
  <a href="https://stackoverflow.com/questions/4895272/difference-between-uiviewcontentmodescaleaspectfit-and-uiviewcontentmodescaletof">Difference between UIViewContentModeScaleAspectFit and UIViewContentModeScaleToFill?</a></p>