IOS: detener un NSTimer [duplicado]
Posible duplicado:
NSTimer no detiene a
Tengo este código:
[NSTimer scheduledTimerWithTimeInterval:110.0
target:self
selector:@selector(targetMethod:)
userInfo:nil
repeats:YES];
- (void) targetMethod:(NSTimer) timer{
NSLog(@"Hello World");}
en targetMethod Puedo detener el temporizador con [invalidar temporizador], pero fuera de este método, ¿cómo puedo detener targetMethod?