send current location on iPhone GPS at specific time
So I would like 开发者_如何学运维to obtain my current GPS location and send it at a specific time in a day to a web service. How can I do this? Is there a way to automatically turn on the current location GPS service?
You can run your application in background to receive location change notifications. In that case, your application will keep getting notifications on location changes.
By "on location changes", I mean you can't check the location in a regular schedule. For example, if the phone does not move at all, say for 7 days, your application will not have a chance to send out its location as there is no way (yet) to let your application run in background at fixed time.
精彩评论