I have created a timer,
self.scanTimer = [NSTimer scheduledTimerWithTimeInterval:TIMEOUT_SECONDS target:self selector:@selector(meInterrupted:) userInfo:nil repeats:NO];
and some point in time in my code, i feel to disable it before timeout happens, so that the meInterrupted not to be called?. How to achieve this ?
Just call [self.scanTimer invalidate]; This will keep the timer from ever firing if it is called before the timer fires.