Commit e8858b6c authored by Chris Scott's avatar Chris Scott

Remove deprecated desiredAccuracy from region-monitoring

parent 5b774994
......@@ -410,7 +410,7 @@
}
stationaryRegion = [[CLCircularRegion alloc] initWithCenter: coord radius:stationaryRadius identifier:@"BackgroundGeoLocation stationary region"];
stationaryRegion.notifyOnExit = YES;
[locationManager startMonitoringForRegion:stationaryRegion desiredAccuracy:desiredAccuracy];
[locationManager startMonitoringForRegion:stationaryRegion];
}
// If you don't stopMonitorying when application terminates, the app will be awoken still when a
......@@ -429,4 +429,4 @@
locationManager.delegate = nil;
}
@end
\ No newline at end of file
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment