SajjadZare
SajjadZare

Reputation: 2378

removeAllAnimations

I use [self.view.layer removeAllAnimations]; for pause animation.but xcode says

warning: no '-removeAllAnimations' method found

why ?

Upvotes: 3

Views: 2736

Answers (1)

Jacob Relkin
Jacob Relkin

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

Related Questions