user689751
user689751

Reputation:

Force an animation block to finish

How can we force an animation block to finish before the time it takes to complete.

Upvotes: 4

Views: 1211

Answers (1)

jrturton
jrturton

Reputation: 119292

  • Import QuartzCore framework
  • For each view that is being animated:

    [view.layer removeAllAnimations];
    

Upvotes: 5

Related Questions