0
我有一个简单的动画,将视图从一个位置移动到另一个位置。动画功能,除了正常的事实,是不遵循持续时间在方法声明中设置...UIView animateWithDuration不遵守持续时间
[UIView beginAnimations:@"listAnimationIn" context:nil];
[UIView animateWithDuration:1.0
delay:1.0
options:UIViewAnimationCurveLinear
animations:^{
lvc.view.frame = CGRectMake(0, 0, 320, 480);
}
completion:nil];
[UIView commitAnimations];
延迟工作,但动画运行FAST无论我把什么价值为持续时间(我试过从0.5到2000的值)。我也尝试了几个UIViewAnimationCurve
选项,似乎没有任何工作。
我错过了什么吗?
贾森,我的男人!搞定了。谢谢一堆! – CoderMarkus