La méthode setAnimationDuration n'a aucun effet sur mon code, My Animation est trop rapide. Voici le codepourquoi setAnimationDuration Aucun effet, mon animation est trop rapide
[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];
merci, comme vous le dites, maintenant ça marche – Tung