本文介绍了iPhone 4后台位置服务问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究iPhone 4 SDK中的新背景位置服务选项。它允许应用程序在后台运行并从设备接收位置更新。

I'm looking into the new background location service options in the iPhone 4 SDK. It allows an app to run in the background and receive location updates from the device.

提供了两种方法。一种是电池密集型模式,可持续获取位置更新。第二种推荐方法在重要位置更改时发送应用位置更新。

There are two methods offered. One is a battery intensive mode that continuously gets location updates. The second recommended method sends the app location updates when there has been a "significant location change".

有谁知道重要的位置更改可能是什么? 30英尺步行被认为是重要的,还是10块步行被认为是重要的?我想这也取决于当时使用的定位机制的准确性。

Does anyone know what a significant location change might be? Is a 30 foot walk considered significant, or is a 10 block walk considered significant? I imagine it also depends on the accuracy of the location mechanism being used at the time.

推荐答案

我最近对新的后台位置服务进行了一些现场测试,以了解构成重要位置更新的内容,对于该位置点击所期望的准确度以及我们使用它的一般体验。

I've recently done some field testing of the new background location service to get an idea of what constitutes a significant location update, what kind of accuracy to expect for the location hits and our general experiences using it.

结果详见一篇相当冗长的博文:

The results are detailed in a fairly lengthy blog post:

iPhone背景GPS:准确到500米,不足以进行人流量

iPhone Background GPS: Accurate to 500 meters, not enough for foot traffic

这篇关于iPhone 4后台位置服务问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!