[UIView beginAnimations:nil context:NULL]; // animate the following:
gearKnob.center = startedAtPoint;
[UIView setAnimationDuration:0.3];
[UIView commitAnimations];
这是动画,它将UIImageView(gearKnob)从一个点移动到另一个点。问题是当对象移动时,我需要相应地更改背景,因此我需要跟踪每个UIImageView在移动时的位置。如何跟踪其位置?是否有任何方法或委托来完成这项任务?