3
Antworten
Ich habe den folgenden code: [UIView animateWithDuration:2.0 delay:0.0 options:UIViewAnimationOptionAllowUserInteraction animations:^{ imageView.bounds = endBounds; } completion:^(BOOL finished) { [UIView animateWithDuration:2.0 delay:0.5 options:UIViewAnimationOptionAllowUserInteraction animations:^{ imageView.bounds = startBounds; } completion:^(BOOL finished) { [imageView removeFromSuperview]; }]; }]; Zusätzlich habe ich noch:
4
Antworten
Ich bin einrichten die folgenden UIView animateWithDuration: Methode, mit der Absicht, die Einstellung meiner animationOn BOOL an anderer Stelle im Programm zu stornieren, die unendliche geloopt wiederholen. Ich hatte den Eindruck, dass die completion block aufgerufen werden