title: iOS - Should changing the frame of a UIImageView resize its image?
body: <p>Can someone answer this definitively? It seems that sometimes changing the frame of a UIImageView resizes its image and sometimes it doesn't.</p>
  
  <p>I have loaded an image and created a UIImageView with it, sized about 100x100. Doing the following has absolutely no effect:</p>
  
  <pre><code>myImageView.contentMode = UIViewContentModeScaleAspectFit;
  myImageView.frame = CGRectMake(0, 0, 30, 30);
  </code></pre>
  
  <p>Obviously I want to shrink the image down, but it just remains full size.</p>
  
  <p>EDIT: If I do this:</p>
  
  <pre><code>myImageView.clipsToBounds = YES;
  </code></pre>
  
  <p>I get a clipped 30x30 portion of the image, but only the upper corner of it. How do I shrink the whole image down to 30x30?</p>