Possible Duplicate:
How do you create a wiggle animation similar to iphone deletion animation
Actually this is an answer ! i made tutorial for people who want create wiggle effect with UIImageView
The Wiggle Effect Code :
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.14];
[UIView setAnimationRepeatAutoreverses:YES];
[UIView setAnimationRepeatCount:10000];
myImage.transform = CGAffineTransformMakeRotation(69);
myImage.transform = CGAffineTransformMakeRotation(-69);
[UIView commitAnimations];
to stop the animation you can use this code :
myImage.transform = CGAffineTransformMakeRotation(0);
[myImage.layer removeAllAnimations];
//#import <QuartzCore/QuartzCore.h> to remove a compiler warning ;)
hope you enjoy it .