后台基于时间的 GPS 定位 (iphone)后台、时间、iphone、GPS

由网友(妄想)分享简介:我想创建一个(基于游戏的)iPhone 应用程序,它将您的 GPS 位置在特定时间(例如每天 3-5 次)发送到服务器.我找到了一个苹果页面,解释了一些在后台运行的功能,例如位置、音乐和 VOIP.I want to create an (game based) iPhone application which se...

我想创建一个(基于游戏的)iPhone 应用程序,它将您的 GPS 位置在特定时间(例如每天 3-5 次)发送到服务器.我找到了一个苹果页面,解释了一些在后台运行的功能,例如位置、音乐和 VOIP.

I want to create an (game based) iPhone application which sends your GPS location on a specific time (like 3-5 times a day) to a server. I found an apple page explaining some functionality to run in the background like location, music and VOIP.

我需要 GPS 在仪表上准确.

I need the GPS to be accurate on the meter.

谁能帮我举个小例子?

推荐答案

这真的取决于你对位置的使用.如果您积极监控,请与用户的电池亲吻再见.非常详细的准确性,对电池的影响更大.就准确性而言,位置的背景是全部或全部.

It really depends on your usage of the location. If you monitor actively, kiss the battery of your user goodbye. Very detailed accuracy, even bigger hit to battery. The backgrounding of location is all or nothing as far as accuracy goes.

-startMonitoringForSignificantLocationChange 命中率低,准确性低.对您来说可能不够准确.

Less hit, less accuracy is -startMonitoringForSignificantLocationChange. May not be accurate enough for you.

根据使用情况、区域监控更好.在定义区域的进入或退出时触发事件.

Better depending on usage, region monitoring. Triggers event on entry or exit of defined region.

您无法从基于位置的准确性和定时事件中受益.你可以做到,但你需要付出更多的努力.

You don't have the benefit of accuracy and timed location based events. You can do it, but is going to require a lot more effort on your end.

阅读全文

相关推荐

最新文章