Could someone give me a little direction on creating crossfades/dissolves between two UIImageViews in the same view controller? I am trying to set up an effect of a background image slideshow but not sure on the mechanics. Thanks.
+2
A:
The simplest method is to do two alpha fades:
//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];
Ben Gottlieb
2010-03-08 01:22:33
Perfect! Thank you.
Greypoint
2010-03-08 02:44:18