Create animation

iPhone SDK Tips & Tricks

Image is getting smaller and missing:
- (void)throwaway
{
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5]; //in seconds
myImageView.transform = CGAffineTransformMakeScale(.001, .001);
[UIView commitAnimations];
}


To return to normal size:
myImageView.transform = CGAffineTransformIdentity;