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