I need to have a timer running in the background that is called by the application did enter background method. I am having some trouble. When I enter background, it doesnt do anything. Here is my code.
- (void)applicationDidEnterBackground:(UIApplication *)application {
bcheckingTimer = [NSTimer scheduledTimerWithTimeInterval:5 target:self selector:@selector(bchecker) userInfo:nil repeats:YES];
}
- (void)bchecker {
NSLog(@"Switch is on, will annoy");
}