title: Use of different mode like "Scale To Fill","Aspect Fit",""Aspect Fill" to handell UIImageView inside UITableViewCell
body: <p>I have used <code>UIImageView</code> inside the <code>UITableViewCell</code> and it will fill the contentView.I have try different mode like "Scale To Fill","Aspect Fit",""Aspect Fill" to handell UIImageView inside UITableViewCell. UIImageView inside UITableViewCell is running out of the screen in Aspect Fill. I have set constraints for the image as shown below <img src="https://i.stack.imgur.com/6UZJM.png" alt="enter image description here"></p>
  
  <blockquote>
    <p>It works fine as below</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/HwnaK.jpg" alt="enter image description here"> </p>
  
  <blockquote>
    <p>But when image size is too large it shows problem as below that it
    goes outside the cell boundary</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/ir9cG.png" alt="enter image description here"></p>
  
  <blockquote>
    <p>I have use <code>Aspect Fill</code> as shown below image</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/9T3S8.png" alt="enter image description here"></p>
  
  <blockquote>
    <p>when I use <code>Aspect Fit</code> I got this problem</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/SVg2n.png" alt="enter image description here"></p>
  
  <blockquote>
    <p>When I use <code>Scale To Fill</code> I got this problem</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/QvG2A.png" alt="enter image description here"></p>
  
  <blockquote>
    <p>In <code>Aspect Fit</code> and <code>Scale To Fill</code> I got margin in left and right as
    shown above</p>
    
    <p>below link doesnt address my problem so its not duplicate</p>
  </blockquote>
  
  <p><a href="https://stackoverflow.com/questions/548033/uiimageview-inside-uitableviewcell-does-not-get-updated">UIImageView inside UITableViewCell does not get updated</a></p>
  
  <p><a href="https://stackoverflow.com/questions/21107732/resizing-uiimageview-inside-a-uitableviewcell">Resizing UIImageView inside a UITableViewCell</a></p>
  
  <p><a href="https://stackoverflow.com/questions/25446084/ios-8-autolayout-issue-uiimageview-inside-uitableviewcell-ignoring-width-con">iOS 8 - AutoLayout issue - UIImageView inside UITableViewCell ignoring width constraints</a></p>