title: How to get my animation running on viewWillAppear or viewDidAppear
body: <p>How do I get my animation to run again when viewWillAppear or viewDidAppear get called?</p>
  
  <p>This is my animation:</p>
  
  <pre><code>bounceAnimation =[CABasicAnimation animationWithKeyPath:@"transform.scale"];
  [bounceAnimation setToValue:[NSNumber numberWithFloat:1.4f]];
  bounceAnimation.duration = 1;
  bounceAnimation.repeatCount = 100000;
  bounceAnimation.autoreverses = YES;
  bounceAnimation.fillMode =kCAMediaTimingFunctionEaseInEaseOut;
  bounceAnimation.removedOnCompletion = YES;
  [startBtn.layer addAnimation:bounceAnimation forKey:@"bounceAnimation"];
  </code></pre>