Je l'ai placé le code suivant dans mon programmeappelant une animation?
CATransition *animation = [CATransition animation];
[animation setDuration:0.5];
[animation setType:kCATransitionFade];
[animation setSubtype:kCATransitionFromLeft];
[animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
[[theWindow layer] addAnimation:animation forKey:@"SwitchToView1"];
Tout fonctionne très bien, mais il n'y a pas d'animation quand je construis le projet dans le simulateur.
Où et comment appeler cette animation? une fois que je reçois cela, je peux le soumettre à l'app store!
Quelle langue et la plate-forme est ce code pour? –
Xcode pour la transition iphone – Dane