Я думаю, что в первую очередь вам нужно извлечь изображения из имеющихся у вас URL-адресов и поместить их в массив inito, а затем установить этот массив как animationImages
из UIImageView
. Затем установите animationDuration
, animationRepeatCount
из UIImageView
и наберите startAnimating
для этого UIImageView
.
Для анализа изображений с URL используйте-
NSData *data = [NSData dataWithContentOfURL:[NSURL urlWithString:@"http://........"]];
UIImage *image = [UIImage imageWithData:data];
затем добавьте это изображение в массив.
UIImageView анимация -
UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake()];
imgView.animationImages = array;
imgView.animationDuration = 2.0;
imgView.animationRepeatCount = 0;
[imgView startAnimating];
для получения дополнительной информации об анимации UIImageView, следуйте -
http://appsamuck.com/day2.html