How can I get开发者_如何学Go a UIImageView to rotate itself 90° counter-clockwise and have the same UIImageView scale to fill the entire iPhone screen with animation at speeds of one-second?
Create a CGAffineTransform that embodies your rotation and scale, then set it as the transform property of your view inside of an animation block which has a 1 second duration.
I'm using .tranform and M_PI for rotation, and changing the frame size
精彩评论