9
UIView
に次のコードを使用してアニメートしています。これは素晴らしいですが、同時にスケールをアニメートするにはどうすればいいですか?スピンしている間に0にスケールダウンするのが理想です。1回のanimateWithDurationコールでスケールと回転を行う方法
[UIView animateWithDuration:0.4 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut
animations:^(void) {
recognizer.view.transform = CGAffineTransformMakeRotation(DegreesToRadians(540));
recognizer.view.backgroundColor = [[UIColor alloc] initWithRed:220.0/255.0 green:220.0/255.0 blue:220.0/255.0 alpha:1.0];
}];