6
Actualmente tengo este código que funciona biencacao setAnimationDidStopSelector
[UIView setAnimationDidStopSelector:@selector(animationDone:finished:context:)];
- (void)animationDone:(NSString *)animationID finished:(BOOL)finished context:(void *)context {
// do stuff here
}
de registro el valor de animationID me da un valor nulo.
¿Cómo puedo pasar el valor al @selector?
me trataron
[UIView setAnimationDidStopSelector:@selector(animationDone:@"animation1"finished:context:)];
Eso me da un error.
Gracias, Tee
esto: '[UIView setAnimationDidStopSelector: @selector (animationDone: finished: context :)];' debe ser esto: '[UIView setAnimationDidStopSelector: @selector (animationFinished: finished: context t :)]; ' –
¡Gracias por el comentario! Corregido –