annuler un UIView animateWithDuration avant l'achèvement

J'ai ce code dans mon projet:

- (void) fadeImageView {
    [UIView animateWithDuration:1.0f
                          delay:0
                        options:UIViewAnimationCurveEaseInOut
                     animations:^{
                         self.imageView.alpha = 0.0f;
                     }
                     completion:^(BOOL finished) {
                         //make the image view un-tappable.
                         //if the fade was canceled, set the alpha to 1.0
                     }];

}

cependant, il y a des circonstances où je voudrais annuler cette opération avant de l'imageview est devenu invisible. Est-il un moyen d'annuler cette animation le milieu de l'animation?

source d'informationauteur Sean Danzeiser | 2012-08-24