je peux « recroqueviller » un contrôleur de vue avec ce code:Puis-je "recourber" une page sur popViewControllerAnimated?
[UIView beginAnimations:@"animation" context:nil];
[self.navigationController pushViewController:page animated:NO];
[UIView setAnimationDuration:1];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.navigationController.view cache:NO];
[UIView commitAnimations];
, mais je ne peux pas la dernière courbe vers le bas la page comme ceci:
[UIView beginAnimations:@"animation" context:nil];
[self.navigationController popViewControllerAnimated:NO];
[UIView setAnimationDuration:1];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:self.navigationController.view cache:NO];
[UIView commitAnimations];
toute idée pourquoi pas? Je veux juste vraiment "inverser" l'animation (comme si un autocollant avait été décollé pour montrer le contrôleur de la vue "poussé" et restait bloqué quand ils cliquaient sur un bouton).
Merci
génie :) merci. –
copie aveugle collé et travaillé en premier go. Mériter un vote et une solution recommandée. – Ans