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

你。 提交于 2019-12-04 16:00:12

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/6371744/will-the-kcllocationaccuracybestfornavigation-setting-in-core-location-improve-l

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!