J'utilise UIScrollView et en utilisant scrollRectToVisible: animé Cela fonctionne très bien pour moi. Mais je veux faire défiler lentement jusqu'à un endroit pour que l'utilisateur puisse remarquer l'effet. Est-ce possible? J'essaye le code suivant, mais n'ai pas réussi.iphone - UIScrollview - scrollRectToVisible avec animation lente
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationDuration:2.0];
[scrlView scrollRectToVisible:<<some cgrect>> animated:YES];
[UIView commitAnimations];
double possible (http://stackoverflow.com/questions/1558262/uiscrollview-scrollrecttovisible-at-custom-speed) [UIScrollView scrollRectToVisible à vitesse personnalisé] – tbodt