Search code examples
iosgeolocationcllocationmanagergeofencing

Location manager region monitoring


I am using following apple cllocation manager region monitoring methods:

- (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLCircularRegion *)region
{
}
- (void)locationManager:(CLLocationManager *)manager didExitRegion:(CLCircularRegion *)region
{
}

the problem is that these method does not get called when application is in suspended state and not running.Any help would be appreciated. thanks


Solution

  • Try to use significant location change instead of start updating location.Also there is a limit of radius to monitor ,minimum radius should be 100 m