//imageView 动画需要的图片
imagev.animationImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"obd_blue_signal01.png"],
[UIImage imageNamed:@"obd_blue_signal02.png"],
[UIImage imageNamed:@"obd_blue_signal03.png"],nil];
//图片切换的时间
[imagev setAnimationDuration:1.0f];
[imagev setAnimationRepeatCount:0];
[imagev startAnimating];
UIMageView 属性 多张图片合成动画
最新推荐文章于 2022-10-08 13:32:20 发布