Question

I am just looking into development for the iPhone and I was wondering if it is possible to trigger an action at a certain time?

Based on what I have read it does not seem like this is currently not an option because there are no background processes allowed. Is this true? If so do you guys/gals have any ideas on alternatives?

Thanks

Was it helpful?

Solution

If your app is not running, then no, it's not currently possible.

If your app is running, you can always use NSTimer.

Also, a manual trigger method was mentioned here on SO that involves sending emails with links in them that cause your app to start.

OTHER TIPS

You can read this article about Push Notification Service: Apple's Solution to run iPhone Apps in the background, which may be of help.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top