tags:

views:

226

answers:

2

Is it possible for an iPhone app to stay dormant while making some kind of regitration request with the iPhone OS so that it will get "wake up call" at a certain time and become the active app?

+1  A: 

That would be running as a daemon... Apple does not allow it, but the Open Toolchain certainly will give you the option to do so.

~ Natanavra.

natanavra
I didn't think it necessarily means a daemon which I know is 'forbidden'. In other words, if I want to publish in the AppStore then forget it?
jkally
@jkally - i don't know how the app store is related at all to your request. You want to run something on the device while it's sleeping so that it can wake up at a certain time and take an action. Then you mention the app store. Explain how you got there.
marcc
It means two things:1) Forget about the Appstore.2) Forget about using the official SDK to achieve this.As someone mentions, the best you're gonna get is Push-Notifications, and that from my personal experience isn't worth too much.
natanavra
+1  A: 

The closest you could come (without jailbreaking) is to use Apple's Push Notification Service.

Ben Gottlieb
Ftrom what I know Push Notification Service requires the user to manually start the app upon receiving some sound alert.This is not what I mean.
jkally