What is the difference between these values:
CLActivityTypeAutomotiveNavigation, CLActivityTypeFitness, CLActivityTypeOtherNavigation,
When assigning activityType property to CLLocationManager ?
The documentation suggests that I should use them in accordance with my purpose of using the CLLocationManager, but I do not find any hint of a difference in the algorithm that determines the stop of location updates.
Quote from the documentation:
CLActivityTypeAutomotiveNavigation
[...] This action may cause the location update to be suspended only when the vehicle is not moving for a long period of time.
CLActivityTypeFitness
[...] This action may cause the location update to be suspended only when the user does not move a significant distance over a period of time.
CLActivityTypeOtherNavigation
This operation may only suspend location updates when the vehicle does not travel a considerable distance for a certain period of time.
I really do not see the difference between these descriptions.
Documentation Source:
https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/#//apple_ref/c/econst/CLActivityTypeOther
ios cllocationmanager location
Paul Brewczynski
source share