संभव डुप्लिकेट:
NSTimer doesn't stopआईओएस: रोक एक NSTimer
मैं इस कोड है:
[NSTimer scheduledTimerWithTimeInterval:110.0
target:self
selector:@selector(targetMethod:)
userInfo:nil
repeats:YES];
- (void) targetMethod:(NSTimer) timer{
NSLog(@"Hello World");}
targetMethod में मैं [टाइमर अमान्य] के साथ टाइमर बंद कर सकते हैं, लेकिन इस विधि से, मैं targetMethod को कैसे रोक सकता हूं?