Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've read some docs about notifications and background work, but there is something I do not understand.

Yesterday, I upgraded to iOS 4.2, rebooted my phone many times, and did not launch any apps. Then this morning I received a push notification from PandoraBox to inform me that an app I've placed in favorite had its price changed.

I wonder how this app, that is not launched, not in background, that cannot know in advance when the price of an app in MY favorites will change, can alert me with a notification this way?

It HAS to run some methods, some code… But I understood that that is not possible. What did I miss?

share|improve this question

migrated from Feb 16 '11 at 15:08

This question came from our site for professional and enthusiast programmers.

up vote 7 down vote accepted

You must have launched PandoraBox before the reboot of your iPhone, right?

When you launch apps that send notifications, they keep the way to identify you and throw notifications to your phone.

So the answer to your question is : "the code is running on some PandoraBox machine, not on your iPhone".

share|improve this answer
if you're a tech guy, this doc will help :… Especially the last arrow of this graphics :… "The provider HAS your token" – Dirty Henry Feb 16 '11 at 14:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.