Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will the kCLLocationAccuracyBestForNavigation setting in Core Location Improve Location Services for Walking Around?

I have an application that needs to keep very precise data about where a user is walking. Will having kCLLocationAccuracyBestForNavigation turned on as opposed to kCLLocationAccuracyBest gain me anything in this situation? Thanks.

like image 922
kyleplattner Avatar asked Jun 16 '11 12:06

kyleplattner


People also ask

Should Location Services be on or off?

Turning off the location service on your phone can help conceal your location. This is important if you don't want third parties knowing where you are or being able to track your movement. However, a smartphone can still be tracked through other techniques that reveal its general location.

What is Core location framework?

Core Location provides services that determine a device's geographic location, altitude, and orientation, or its position relative to a nearby iBeacon device. The framework gathers data using all available components on the device, including the Wi-Fi, GPS, Bluetooth, magnetometer, barometer, and cellular hardware.

Why is location not working on iPhone?

If you can't find your current location on your iPhone, iPad, or iPod touch. Turn on Location Services and Location Access for Maps. In the Settings app, tap Privacy, then tap Location Services. Make sure Location Services is on, and make sure Maps is set to While Using the App or Widgets.


1 Answers

kCLLocationAccuracyBestForNavigation is better for what you want to achieve as opposed to kCLLocationAccuracyBest.

the only reason not to pick the BestForNavigation is the support of devices with iOS<4.

As a side note, kCLLocationAccuracyBestForNavigation will also be battery eater... but not more than 20% in respect to other (from my personal experience).

As the boys in Apple said:

kCLLocationAccuracyBestForNavigation Use the highest possible accuracy and combine it with additional sensor data. This level of accuracy is intended for use in navigation applications that require precise position information at all times and are intended to be used only while the device is plugged in.

like image 121
chewy Avatar answered Sep 28 '22 16:09

chewy