tags:

views:

187

answers:

2

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.

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?

Also, if the above is possible, is it possible to transmit the GPS trial in the background with a web call etc.

+5  A: 

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

Robert Redmond
Excellent, thank you very much.
Christopher Edwards
A: 

Thanks for answering my question, simple but great answer :)

kohlerfc