I am using Region Monitoring in my app and I faced a question that I couldn\'t find any answer to it. How does region monitoring work in background mode?
According to Lo
Region monitoring Relaunches your application when you enter the monitored region if you are in background .
however you have to again configure your location manager after the app relaunches .
something like this -
if ([launchOptions objectForKey:UIApplicationLaunchOptionsLocationKey] )
{
NSLog(@"Relaunched due to location update");
NSLog(@"app woke up times ---- %d",ForTest);
NSLog(@"Starting the location manager");
self.locmanager = [[CLLocationManager alloc] init];
[self.locmanager startMonitoringForRegion:(CLRegion)*region];
// self.locmanager.pausesLocationUpdatesAutomatically = YES ;
}