Je suis un débutant absolu dans le développement de l'iPhone (considérez cela tout en rplyng s'il vous plaît), j'ai cette application basée sur la navigation dans laquelle il existe une vue appelée FirstView.iPhone - View pour UIViewAnimationTransitionCurlUp
Dans ce que j'ai un scrollview et imageview. Je définis la vue Image of Image sur un clic de bouton. Puis, après le clic je ai ce code
imageView.image=image;
imageTitle.text=text;
scrollView.clipsToBounds=YES;
CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationTransition: UIViewAnimationTransitionCurlUp forView:[self scrollView] cache:NO];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:1.0];
[UIView commitAnimations];
L'animation UIViewAnimationTransitionCurlUp fonctionnait très bien si je mets la vue de l'animation comme imageView. Mais si je le mets pour scrollView (comme ci-dessus), l'animation ne se produit pas