CGAffineTransform transform; // = CGAffineTransformScale(flyImoji.transform, 8, 8);
transform = CGAffineTransformMakeRotation(90);
[UIView animateWithDuration:1 animations:^{
flyImoji.transform = transform;
flyImoji.frame = endFrame;
flyImoji.alpha = endAlpha;
} completion:^(BOOL finished) {
[flyImoji removeFromSuperview];
}];
https://github.com/yixiangboy/IOSAnimationDemo