类似于 SO 问题参考:为什么 UIView:animateWithDuration 立即完成?但是,我的代码正在使用 [UIView beginAnimation] 等。
我基本上有这个:
[UIView beginAnimation ...];
[UIView setAnimationDelay: 0.0];
[UIView setAnimationDuration: 1.25];
animatedImage.transform = "scale-up transform";
[UIView setAnimationDelay: 1.25]
[UIView setAnimationDuration: 0.50];
animatedImage.transform = "scale-down transform";
[UIView commitAnimation];
图像立即跳转到放大尺寸,然后 1.25 秒后它很好地动画到“缩小”尺寸。如果我链接更多序列,它们都可以正常工作,除了第一个。