I’m trying start another animation when one ends.
I am checking for callbacks like this:
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(animationDidStopNotification:)
name:ImageAnimatorDidStopNotification
object:animatorViewController];
How do I make an if statement that lets me do trigger something when ImageAnimatorDidStopNotification is received?
Thanks!
You didn’t post enough code to know what are you trying to do and where is the problem.
If you want to chain two (or more) animations with UIKit, try using
setAnimationDidStopSelector:selector.