bir gibi bir kenara, döndürmek çağrı sararak UIView animasyon için bir geri aynı tür yapmak da yapabilirsiniz kod
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5f];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(rotationAnimationHasFinished:finished:context:)];
// Rotate the view here
[UIView commitAnimations];
aşağıdaki blokta ve daha sonra bir temsilci yöntemini
- (void)rotationAnimationHasFinished:(NSString *)animationID finished:(BOOL)finished context:(void *)context;
{
// Handle the completion of the animation
}
tanımlayan UIView Delegenin içinde, animasyon tamamlandıktan sonra ihtiyacınız olan her şeyi yapacaksınız.