在 iOS4 上运行的 iPhone 4 或 3GS 上是否可以进行后台 GPS位置记录 [英] Is background GPSlocation logging possible on iPhone 4 or 3GS running on iOS4

查看:16
本文介绍了在 iOS4 上运行的 iPhone 4 或 3GS 上是否可以进行后台 GPS位置记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从未为 iPhone 编写过任何代码,但我为 Windows Mobile 编写了 GPS 跟踪器,我知道随着 iOS4 的发布,多任务处理的故事有了一些改进.

I've never coded anything for the iPhone but have written a GPS tracker for Windows Mobile, with the release of iOS4 I understand there have been some improvements to the multitasking story.

是否可以使用在 iPhone iOS4 上运行的应用程序记录 GPS 轨迹?您可以通过在后台运行或使用预定的推送通知来唤醒应用程序或其他方式来实现这一点吗?

Is is possible to log a GPS trail with an app running on the iPhone iOS4? Can you achieve this by running in the background or using scheduled push notifications to wake up the app, or some other way?

另外,如果可以的话,是否可以通过网络电话等在​​后台传输 GPS 试验.

Also, if the above is possible, is it possible to transmit the GPS trial in the background with a web call etc.

推荐答案

是的,IOS4 允许您的应用在后台记录 GPS 轨迹.有关更多信息,请参阅 Apple 文档 http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html#//apple_ref/doc/uid/TP40007072-CH5

Yes IOS4 allows your app to log GPS trails in the background. See the Apple docs for more info http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html#//apple_ref/doc/uid/TP40007072-CH5

这篇关于在 iOS4 上运行的 iPhone 4 或 3GS 上是否可以进行后台 GPS位置记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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