views:

134

answers:

2

There's something I'm not seeing with Apple's push notification programming guide & related documentation. Is there a decent sample project (or well written tutorial) to show me how to do push location notifications?

Here's what I want to do:

  • Launch my app.
  • Press the "remember this spot" button.
  • Quit my app.

    [... time passes ...]

  • Get a notification: "You are now more than a mile from where you started."

    [... time passes ...]

  • Get a notification: "You are now within 100' of where you started."

Apologies if this is covered in Apple's docs; I'm just not seeing it.

Thanks!

(Meta: Is there a way to withdraw a question once you realize that you're just being blind?)

+1  A: 

Duh. And there it is.

http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html

The problem was, I was searching on "location + push notification" and coming up dry, I wanted "location aware."

Hopefully this entry will at least save someone else the trouble.

Olie