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位置记录
基础教程推荐
- 如何从 logcat 中删除旧数据? 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
