title: create a UIImageView that crops an image and displays only 100w 100h at 50x and 200y
body: <p>I am trying to create a box that pops up in my xcode app that just displays an image of that size. I have the following</p>
  
  <pre><code>UIImageView *newView=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"beach.jpg"]];
  </code></pre>
  
  <p>but this creates the full size image and just shows it. How would I only show it as 100w by 100h at 50 over and 200 down? Would I use CGRect?</p>
  
  <p>Also, can I make it so that clicking it causes it to disappear?</p>
  
  <p><strong>edit #1</strong> 
  I don't want to resize down the image - would rather just pull the 100 squared pixels and place them in a frame.</p>