应用程序在后台运行时如何获取位置信息?

问题描述:

可能重复:
Is background GPS\location logging possible on iPhone 4 or 3GS running on iOS4应用程序在后台运行时如何获取位置信息?

可能重复:
Suspend the application?

我想要在应用程序进入后台时获取位置信息(GPS),例如应用程序X进入后台并且我想在时间 (纬度:12,889长度:9,231时间:4:56)中保存坐标GPS (Lat :12,889长:9,231时间:4:57) (纬度:12,889长:9,231时间:4:58) 我想每1分钟采取一次信息, 和当恢复应用程序时,我想要使用此向量的信息。 谢谢! 我不知道这是可能的iPhone 4,但与3是不可能的。

请参阅本 Is background GPS\location logging possible on iPhone 4 or 3GS running on iOS4

和注意,这将耗尽电池更快,如果您的应用可以在后台很长一段时间。