Me gustaría animar la transición de una subvista a la supervista.Animar removeFromSuperview
puedo mostrar la subvista usando:
[UIView beginAnimations:@"curlup" context:nil];
[UIView setAnimationDelegate:self];
[UIView setAnimationDuration:.5];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[self.view addSubview:self.mysubview.view];
[UIView commitAnimations];
lo anterior funciona bien. Se va de nuevo a la super vista de que no tengo ningún tipo de animación:
[UIView beginAnimations:@"curldown" context:nil];
[UIView setAnimationDelegate:self];
[UIView setAnimationDuration:.5];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:self.view cache:YES];
[self.view removeFromSuperview];
[UIView commitAnimations];
¿Hay algo diferente que debería hacer para conseguir la subvista para animar cuando se retiran?
funciona muy bien ...;) –