I use [self.view.layer removeAllAnimations];
for pause animation.but xcode says
warning: no '-removeAllAnimations' method found
why ?
I use [self.view.layer removeAllAnimations];
for pause animation.but xcode says
warning: no '-removeAllAnimations' method found
why ?
You probably forgot to link the QuartzCore
framework into your project.
See my answer here: Compile error trying to use CAGradientLayer