title: IOS: stop a NSTimer
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1031554/nstimer-doesnt-stop">NSTimer doesn&#39;t stop</a>  </p>
  </blockquote>
  
  
  
  <p>I have this code:</p>
  
  <pre><code>[NSTimer scheduledTimerWithTimeInterval:110.0
                                   target:self
                                 selector:@selector(targetMethod:)
                                 userInfo:nil
                                  repeats:YES];
  
  - (void) targetMethod:(NSTimer) timer{
  NSLog(@"Hello World");}
  </code></pre>
  
  <p>in targetMethod I can stop timer with [timer invalidate], but out of this method, How can I stop targetMethod?</p>