title: UIImageView change Width and Height
body: <p>I've read various posts on here asking similar questions...  I've tried various ways that were posted including bounds and frames etc. including the following:</p>
  
  <pre><code>myImage.frame = CGRectMake(0.0f, 0.0f,50.0f, 50.0f);
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>myImage.bounds = CGRectMake(0.0f, 0.0f,50.0f, 120.0f);
  </code></pre>
  
  <p>neither of those work.</p>
  
  <p>However, I find it interesting that the following code let's me move the Image around but doesn't change the width:</p>
  
  <pre><code>CGRect frameRect = myImage.frame;
  frameRect.size.width = 50.0f;
  frameRect.origin.x += 10.5f;
  myImage.frame = frameRect;
  </code></pre>
  
  <p>So why don't any of these change the width/height of my ImageView?</p>
  
  <p>I found another post on here that basically states I have to right a small book of code to get it resize my image... is that true?</p>
  
  <p>Such as this one:
  <a href="https://stackoverflow.com/questions/603907/uiimage-resize-then-crop/605385#605385">UIImage: Resize, then Crop</a></p>
  
  <p>certainly this is simpler than that??</p>