Is background GPSlocation logging possible on iPhone 4 or 3GS running on iOS4(在 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位置记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 iOS4 上运行的 iPhone 4 或 3GS 上是否可以进行后台 GPS位置记录


基础教程推荐
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01