Search code examples
iphonecore-animation

Rotate and Scale UIImageView with animation


How can I get 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?


Solution

  • I'm using .tranform and M_PI for rotation, and changing the frame size