开发者

how take information of location when the application go in background? [duplicate]

开发者 https://www.devze.com 2023-02-16 12:31 出处:网络
This question already has an answer here: Closed 11 years ago. Possible Duplicate: Is background GPS\\location logging possible on iPhone 4 or 3GS running on iOS4
This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

Is background GPS\location logging possible on iPhone 4 or 3GS running on iOS4

开发者_开发技巧

Possible Duplicate:

Suspend the application?

I want take information of location (GPS) when the app go in background, for example the app X go in background and i want save the coordinate gps at the time (Lat:12,889 Long:9,231 time: 4:56) (Lat:12,889 Long:9,231 time: 4:57) (Lat:12,889 Long:9,231 time: 4:58) i want take this information every 1 min, and when resume the app, i want use this vector of information. Thanks! I don't know if this is possible with iphone ios 4, but with 3 is not possible.


Please see this Is background GPS\location logging possible on iPhone 4 or 3GS running on iOS4

and note that this will drain the battery faster if your app has to be in the background for a long time.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号