tags:

views:

44

answers:

2

I would like to launch an app into the background on a given day/time to perform some background task. Using LocalNotifications doesn't seem to cut it because the user has to respond to the notification in order to launch the app. Any ideas?

Thanks

+1  A: 

No. Third-party applications can only be launched or brought to the foreground by user interaction.

Mark Trapp
+1  A: 

iOS doesn't support this. If you're updating some values, you can do that on next launch. Perhaps you can run some update at your service at a scheduled time, if you're running a service. Beyond that I'm not sure -- it'd depend on your requirements.

Peter Leppert
ok thanks. How about this then. Once the application is launched, can I programmatically send it into the background? In other words, the user hits the 'alert.action' button of the notification, the app launches and immediately goes into the background.
JMH