当前位置: 动力学知识库 > 问答 > 编程问答 >

objective c - Object move along the path

问题描述:

In Objective-C, how can I move an object along a straight line or a curve? When the user presses a button, a UIImageView must move along a path. How can I do this?

网友答案:

Use a CAKeyframeAnimation on the view's layer.

分享给朋友:
您可能感兴趣的文章:
随机阅读: