I'm wondering if setting the correct activityType after initializing CLLocationManager will make the location results more accurate.
locationManager = CLLocationManager()
locationManager.distanceFilter = 20
locationManager.activityType = .fitness
I'm wondering if setting the correct activityType after initializing CLLocationManager will make the location results more accurate.
locationManager = CLLocationManager()
locationManager.distanceFilter = 20
locationManager.activityType = .fitness
Yes it does. activityType
determines how CoreLocation will handle raw location data before transferring it to the app.
Two main things that this effects are:
So, yes, this is a meaningful property.
Argun Tekant / DTS Engineer / Core Technologies