核心位置中的 kCLLocationAccuracyBestForNavigation 设置是否会改善步行的定位服务?

发布于 2024-11-15 12:15:39 字数 125 浏览 3 评论 0原文

我有一个应用程序需要保留有关用户行走位置的非常精确的数据。在这种情况下,启用 kCLLocationAccuracyBestForNavigation 而不是 kCLLocationAccuracyBest 会给我带来什么好处吗?谢谢。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦回梦里 2024-11-22 12:15:39

与 kCLLocationAccuracyBest 相比,kCLLocationAccuracyBestForNavigation 更适合您想要实现的目标。

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

顺便说一句,kCLLocationAccuracyBestForNavigation 也会消耗电池......
但相对于其他,不超过 20%(根据我个人的经验)。

正如苹果公司的员工所说:

kCLLocationAccuracy最佳导航
使用尽可能高的精度和
将其与附加传感器结合起来
数据。这个准确度等级是
用于导航
需要精确的应用
随时提供位置信息以及
仅当
设备已插入。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文