核心位置中的 kCLLocationAccuracyBestForNavigation 设置是否会改善步行的定位服务?
我有一个应用程序需要保留有关用户行走位置的非常精确的数据。在这种情况下,启用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
与 kCLLocationAccuracyBest 相比,kCLLocationAccuracyBestForNavigation 更适合您想要实现的目标。
不选择 BestForNavigation 的唯一原因是 iOS<4 设备的支持。
顺便说一句,kCLLocationAccuracyBestForNavigation 也会消耗电池......
但相对于其他,不超过 20%(根据我个人的经验)。
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).