title: UIImageView Transform Scale
body: <p>I have a UIButton that when pressed, will make a UIImageView scale slightly larger and then back to its normal size. It's working, but I'm running into a problem where the image eventually keeps getting slightly smaller the more you press the button. </p>
  
  <p>How can I change the code so that the image doesn't get smaller as you press the button? Here's the code I have to scale the image slightly larger and then back to normal:</p>
  
  <pre><code>[UIView beginAnimations:nil context:NULL];
  [UIView setAnimationDuration: 0.2];
  myImage.transform = CGAffineTransformScale(myImage.transform, 1.03, 1.03);
  [UIView setAnimationDelegate:self];
  [UIView commitAnimations];
  [UIView beginAnimations:nil context:NULL];
  [UIView setAnimationDuration: 0.2];             
  myImage.transform = CGAffineTransformScale(myImage.transform, 0.97, 0.97);
  [UIView setAnimationDelegate:self];
  [UIView commitAnimations];
  </code></pre>
  
  <p>Thanks for any help.</p>