I want to run my iPhone application in the background. Please suggest if there is any way to do this.
Asked
Active
Viewed 1,548 times
0
-
This is a duplicate of http://stackoverflow.com/questions/1864604/iphone-app-run-on-background – Brad Larson Jan 05 '10 at 18:08
3 Answers
7
Applications developed using the iPhone SDK can only run in the foreground on the iPhone. Only Apples applications (iTunes, email, etc) can run in the background.
Consider using Push notification to update the application icon or display a message to the user if you want to do something when the user is not running your application.

Robert Christie
- 20,177
- 8
- 42
- 37
-
for displayng just message when my application not running ,how should I do that? – Aishwarya Jan 06 '10 at 04:46
2
You can't. Only some of the Apple apps are allowed to do this. It's a platform restriction.

NotMe
- 87,343
- 27
- 171
- 245
1
You can only do it with applications released for jailbroken iPhones, not those sold through the App Store. For example Backgrounder (available through Cydia) allows you to run any application as a background app:
http://code.google.com/p/iphone-backgrounder/wiki/Documentation

Adrian Kosmaczewski
- 7,956
- 4
- 33
- 59