2010-03-08 2 views

Répondre

2

La méthode la plus simple est de faire deux alpha se fane:

//set up two image views, view1 and view2 
view1.alpha = 1.0; 
view2.alpha = 0.0; 
[myView addSubview: view1]; 
[myView addSubview: view2]; 
[UIView beginAnimation: nil context: nil]; 
view1.alpha = 0.0; 
view2.alpha = 1.0; 
[UIView commitAnimations]; 
+0

Parfait! Je vous remercie. – CBGrey