0

我正在尝试使用动画设置 AnchorPoint,但它不起作用。我尝试使用 UIView 制作动画:

UIView.BeginAnimations("Test");
UIView.SetDuAnimationDuration(1f);
Layer.AnchorPoint = new Point(0.5,0.5);
UIView.CommitAnimations();

但这不起作用。有没有人有动画设置 AnchorPoint 的想法?

提前感谢亚历克斯

4

1 回答 1

0

对不起,我已经解决了我的问题。

答案是这两个链接的组合:

在动画集结束时在 MonoTouch 中实现 CAKeyFrameAnimation 回调?

https://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/AnimProps.html

于 2012-08-27T10:33:35.763 回答