RemoveAllAnimations

I am using [self.view.layer removeAllAnimations]; to pause animation.but xcode says

warning: no '-removeAllAnimations' method found

why?

+4
source share
1 answer

You probably forgot to link the QuartzCore structure to your project.

See my answer here: Compile error trying to use CAGradientLayer

+5
source

All Articles