Import UIView beginAnimations:@"RotationAnimation" context:nil; CABasicAnimation *fullRotationAnimation; fullRotationAnimation = CABasicAnimation animationWithKeyPath:@"transform. Rotation"; fullRotationAnimation . FromValue = NSNumber numberWithFloat:0; fullRotationAnimation.
ToValue = NSNumber numberWithFloat:((360*M_PI)/180); fullRotationAnimation. Duration = 2; // speed for the rotation. Smaller number is faster fullRotationAnimation.
RepeatCount = 1e100f; // number of times to spin. 1 = once myImage. Layer addAnimation:fullRotationAnimation forKey:@"360"; UIView commitAnimations.
2 Actually, I don't believe the begin / commit animations block for the UIView is necessary here, because you are explicitly animating the view's layer. You may also want to use "transform.rotation. Z" as the keypath for the animation, to clearly specify what axis is being rotated about.
– Brad Larson Oct 10 '09 at 23:24.
You'll want to use CoreAnimation for this; basically you'll need to apply an animation to the transform property of your image view. There are plenty of samples on Apple's developer page that show variations on this.
This may be the late answer to your question, but it will help someone.. By using the CGAffineTransformMakeRotation we can able to rotate the Image Rotate the Image in Anti-Clockwise Direction -(void)rotate { x++; CGAffineTransform transform = CGAffineTransformMakeRotation(x); imageView. Transform = transform; self performSelector:@selector(rotate) withObject:self afterDelay:0.1; } For ClockWise Direction use x.
RepeatCount = 1e100f; // number of times to spin. You'll want to use CoreAnimation for this; basically you'll need to apply an animation to the transform property of your image view. There are plenty of samples on Apple's developer page that show variations on this.
Terms of service.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.