title: Animate images in uiimageview
body: <p>How to animate the images from web service. I got the code to animate the images from bundle.How to load the images from the url  an array</p>
  
  <p>That code is attached below</p>
  
  <pre><code>UIImageView* animatedImageView = [[UIImageView alloc] initWithFrame:self.view.bounds];
  animatedImageView.animationImages = [NSArray arrayWithObjects:    
                                 [UIImage imageNamed:@"image1.gif"],
                                 [UIImage imageNamed:@"image2.gif"],
                                 [UIImage imageNamed:@"image3.gif"],
                                 [UIImage imageNamed:@"image4.gif"], nil];
  animatedImageView.animationDuration = 1.0f;
  animatedImageView.animationRepeatCount = 0;
  [animatedImageView startAnimating];
  [self.view addSubview: animatedImageView];
  </code></pre>