// 在数组中放置几张图片
NSMutableArray *ImageArray = [NSMutableArray array];
_ImageView = [[UIImageView alloc] initWithFrame:CGRectMake(148, 200, 22, 22)];
_ImageView.animationImages = bflies;
_ImageView.animationDuration = 1.0f; 设置动画时间
[_ImageView startAnimating];
[self.view addSubview:self.ImageView];
[iOS-GQiang]UIImageView 播放几张图片
最新推荐文章于 2024-05-08 17:44:25 发布