核心位置中的kCLLocationAccuracyBestForNavigation设置是否改善了步行定位服务? [英] Will the kCLLocationAccuracyBestForNavigation setting in Core Location Improve Location Services for Walking Around?

查看:1628
本文介绍了核心位置中的kCLLocationAccuracyBestForNavigation设置是否改善了步行定位服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序需要保存关于用户走路的非常精确的数据。开启kCLLocationAccuracyBestForNavigation而不是kCLLocationAccuracyBest会在这种情况下获得什么?

解决方案

kCLLocationAccuracyBestForNavigation更适合您想实现的目的,而不是kCLLocationAccuracyBest。



不选择BestForNavigation的唯一原因是iOS< 4的设备支持。

另外,kCLLocationAccuracyBestForNavigation也是电池充电器...
但不超过20%(根据我的个人经验)。


Apple表示:

kCLLocationAccuracyBestForNavigation
使用最高精度,
将其与额外的传感器
数据结合使用。准确度等级为
,旨在用于导航
应用程序,这些应用程序始终需要精确的
位置信息,
仅用于
设备插入。



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.

解决方案

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.

这篇关于核心位置中的kCLLocationAccuracyBestForNavigation设置是否改善了步行定位服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆