我在阵列中有很多图像,我想在imageview上反复淡化fadein

时间:2013-11-07 12:28:25

标签: ios iphone

[super viewDidLoad];

imgView.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"splash_slide_1.png"],[UIImage imageNamed:@"splash_slide_2.png"],[UIImage imageNamed:@"splash_slide_3.png"],[UIImage imageNamed:@"splash_slide_4.png"],[UIImage imageNamed:@"splash_slide_5.png"];

[开始动画];

fadein,反复淡出这个图片

1 个答案:

答案 0 :(得分:0)

考虑查看此post - onComplete,您可以设置新图像并将其淡入淡出