tags:

views:

34

answers:

1

hi, i want to rotate my UIview to particular angle and stop that rotation in that angle.any help pls?

+1  A: 

To rotate a UIView, change its .transform property.

theView.transform = CGAffineTransformMakeRotation(M_PI * 25 / 180);

Use UIView animation block to animate the rotation, as usual.

KennyTM