后台基于时间的 GPS 定位 (iphone) [英] Time based GPS location in background (iphone)

查看:13
本文介绍了后台基于时间的 GPS 定位 (iphone)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个(基于游戏的)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.

这篇关于后台基于时间的 GPS 定位 (iphone)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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