任何人都可以提供一个提示,为什么在下面的代码中的缓动曲线没有任何影响。实际上,持续时间价值似乎没有影响。UIView动画 - 缓和函数不适用
UIView.BeginAnimations("");
UIView.Animate(1, 0, UIViewAnimationOptions.CurveEaseIn, delegate
{
view.Alpha = 0.0f;
var newFrame = new RectangleF(UIApplication.SharedApplication.Windows[0].Frame.Right + 10, view.Frame.Top, view.Frame.Width, view.Frame.Height);
view.Frame = newFrame;
},
delegate
{
view.RemoveFromSuperview();
});
UIView.CommitAnimations();