title: Play Click/Tick sound on every count down in seconds(iPhone)?
body: <p>I have implemented a down counter which plays Click sound on every second till it's timer get invalidated. At the same time,I m displaying the counter value.</p>
  
  <pre><code>  -(IBAction)start{
      myTicker =[NSTimerscheduledTimerWithTimeInterval:1.0 target:self selector:@selector(showactivity) userInfo:nil repeats:YES];
          }
  
          -(void)showactivity;{
  
          int CurrentTime =[time.textintValue];
  
          NSString *soundFilePath=[[NSBundlemainBundle] pathForResource:@"Click03" ofType:@"wav"];
          NSURL *soundFileURL =[NSURLfileURLWithPath:soundFilePath];
          AVAudioPlayer *player=[[AVAudioPlayer alloc] initWithContentsOfURL:soundFileURL error:nil];
          player.numberOfLoops =1;
          [player play];
  
          int newTime = CurrentTime-1;
          time.text = [NSString stringWithFormat:@"%d",newTime];
          if(newTime ==0){
                  [myTicker invalidate];
          time.text = @"0";
  
              }
  
          }
  </code></pre>
  
  <p>Counter works perfectly but with a small initial delay; But it doesn't play the sound,Can anyone help me to implement this concept efficiently, with a minimum delays etc...</p>