您的位置:首页 > 产品设计 > UI/UE

[iOS-GQiang]UIImageView 播放几张图片

2015-03-12 11:13 239 查看
// 在数组中放置几张图片
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];
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: