385Rotating an UIView

Rotating an UIView, here for 90 degree.

UIImageView *v = [[UIImageView alloc] initWithFrame:CGRectMake(0.0, 0.0, 480, 320)];
v.center = CGPointMake(160.0, 240.0);
v.transform = CGAffineTransformMakeRotation(M_PI/2); // radian!