setAnimationDuration方法对我的代码没有任何影响,My Animation太快了。下面是代码为什么setAnimationDuration没有效果,我的动画太快
[UIView beginAnimations:nil context:nil];
image1.frame=CGRectMake(0, 0, 0,image1.frame.size.height);
image2.frame=CGRectMake(image2.frame.size.width, 0, 0,image2.frame.size.height);
[UIView setAnimationDuration:10];
[UIView setAnimationDelegate:self];
[UIView commitAnimations];
谢谢,正如你所说,现在它工作 – Tung 2013-02-27 09:40:30