views:

371

answers:

2

I have this requirement from client where depending on the location of the iPhone we need to send push notification. Now how can we find location of the iPhone without the app running in background? Is there anyway we can achieve this?

+1  A: 

no, an SDK app must be running (and therefore in the foreground) to be able to send any location data.

.mac can do this with the locate my iphone feature, but it requires a subscription and as far as I know cant be used by an external application...

Mobs
+1  A: 

With the recently-released iPhone OS 4, I believe this is now possible. See http://developer.apple.com/technologies/iphone/whats-new.html.

Edit: More useful info here. See the section entitled "Starting the Significant-Change Location Service"

Brian