ios - Stopping an UIView animation that was started but being delayed -


this question has answer here:

[uiview animatewithduration:1 delay:4 options:(uiviewanimationoptionallowuserinteraction | uiviewanimationoptioncurveeasein)     animations:^         {             // here (irrelevant)         }         completion:nil ]; 

how stop animation within time of delay? example, want stop animation after execute before delay timer ends. i've tried [self.view.layer removeallanimations]; no avail.

edit: i've stated. i've tried [self.view.layer removeallanimations]; no avail.

i didn't try can stop animations [view.layer removeallanimations]; should work.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -