I initialize the locationManager this way:
if (!self.locManager)
{
self.locManager = [[CLLocationManager alloc] init];
self.locManager.delegate = self;
[locManager startMonitoringSignificantLocationChanges];
}
my device is not moving and still “didUpdateToLocation” is being called every time.
What could be a problem?
Thanks
didUpdateToLocationmay update for a number of reasons, a good strategy for handling this is to gradually filter results based on timestamp, then required accuracy.Apple provide a good example in the LocateMe sample app: