可能的重复:
iphone 褪色的图像
如何在一组图像(图像数组)中实现淡出动画。图像将一张一张出现。当我使用下面给出的代码时,它只会显示一个简单的幻灯片放映。
NSArray *imagearray = [NSArray arrayWithObjects:
[UIImage imageNamed:@"image1.png"],
[UIImage imageNamed:@"imag2.png"],[UIImage imageNamed:@"imag3.png"],[UIImage imageNamed:@"imag4.png"],[UIImage imageNamed:@"imag5.png"],[UIImage imageNamed:@"imag6.png"],[UIImage imageNamed:@"imag7.png"],nil];
imageview.animationImages=imagearray;
imageview.animationDuration = 10.00;
imageview.animationRepeatCount = 0;
[imageview startAnimating];
如何实现褪色效果?