title: How can i tell when a simple png animation in iOS is finished?
body: <p>This is the classic animation, but I need to know when it actually finishes. thanks</p>
  
  <pre><code>UIImageView* campFireView = [[UIImageView alloc] initWithFrame:self.view.frame];
  campFireView.frame = CGRectMake(255.0f,0.0f,512.0f,384.0f);
  
  campFireView.animationImages = [NSArray arrayWithObjects:
    [UIImage imageNamed:@"wish_launch_up_low_00000.png"],
    [UIImage imageNamed:@"wish_launch_up_low_00001.png"],
    [UIImage imageNamed:@"wish_launch_up_low_00002.png"],
    [UIImage imageNamed:@"wish_launch_up_low_00003.png"],
    [UIImage imageNamed:@"wish_launch_up_low_00004.png"],
    [UIImage imageNamed:@"wish_launch_up_low_00005.png"],
    ,nil];
  
  
    campFireView.animationDuration = 0;
    campFireView.animationRepeatCount = 1;
  
    [campFireView startAnimating];
  
    [self.view addSubview:campFireView];
  </code></pre>