how take information of location when the application go in background? [duplicate]
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.
精彩评论