est-il possible, pour obtenir une animation CATransition comme UIImage? Je fais un exemple:Est-il possible d'obtenir une animation CATransition comme UIImage?
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:0.35];
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
animation.type = @"pageCurl";
animation.fillMode = kCAFillModeForwards;
animation.endProgress = 0.65;
[animation setRemovedOnCompletion:NO];
[self.view.layer addAnimation:animation forKey:@"pageCurlAnimation"];
C'est l'animation, Im en utilisant. Cela ressemble à ceci: http://img269.imageshack.us/img269/8577/bildschirmfoto20100331u.png
Comment puis-je capturer cet effet de bouclage? Le problème est que je dois supprimer l'animation de self.view.layer, mais j'ai besoin de l'image de bouclage plus tard. Est-il possible d'obtenir l'animation (image) en tant qu'image? Je ne veux pas capturer l'ensemble UIView, seulement l'animation.