2010-02-17 2 views
1

J'ai créé un UIImageView, l'ai ajouté à la sous-vue et j'ai l'intention de l'animer. J'utilise la méthode setAnimationDidStopSelector et je me demandais si je pouvais l'obtenir pour appeler une fonction 3 secondes environ après l'arrêt de l'animation.Est-il possible de retarder setAnimationDidStopSelector?

Voici la ligne de code J'utilise:

[UIView setAnimationDidStopSelector:@selector(onAnimationComplete:finished:context:)]; 
[UIView setAnimationDelegate:self]; 
[UIView commitAnimations]; 

Merci.

Répondre