在 iOS4 上运行的 iPhone 4 或 3GS 上是否可以进行后台 GPS位置记录后台、位置、iPhone、GPS

由网友(17.人間太苦)分享简介:我从未为 iPhone 编写过任何代码,但我为 Windows Mobile 编写了 GPS 跟踪器,我知道随着 iOS4 的发布,多任务处理的故事有了一些改进.I've never coded anything for the iPhone but have written a GPS tracker for Wi...

我从未为 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

阅读全文

相关推荐

最新文章