title: UIImageView change Background Color and setImage not working during Animation
body: <p>As the title said, it's very strange, did you agree? </p>
  
  <p>So , if someone found your codes</p>
  
  <pre><code>imageView.backgroundColor = [UIColor greenColor]; 
  </code></pre>
  
  <p>or</p>
  
  <pre><code>imageView.image = [UIImage imageName:@"angryBird"];" 
  </code></pre>
  
  <p>are not working. Just mind that if your imageView is animating , or whether the animation has been removed or not.</p>
  
  <p>－－－－－－－－－－<strong>The Answer Below</strong>－－－－－－－－－－－－－－－</p>
  
  <p>Just stop animating before you set image and change background of the animating UIImageView.</p>
  
  <pre><code>UIImageView* imageView = [UIImageView alloc] init];
  //......do sth. like setFrame ...
  imageView.images = [NSArray arrayWithObjects....]; // set the animation images array 
  imageView.animationDuration = 1.0;
  [imageView startAnimating];
  //......do sth.
  [imageView stopAnimating];        // **** do not forget this!!!!! ****
  imageView.backgroundColor = [UIColor greenColor];
  imageView.image = [UIImage imageName:@"angryBird"];
  </code></pre>
  
  <p>When you performSelector: withObject: afterDey:1.0s , in the selector method , also, you need to <strong>stopAnimating</strong> too, and then setImage or change background color.</p>