tags:

views:

133

answers:

3

Hi, I want to run my aplication in background on iphone.Please suggest me if any way is there.

+1  A: 

You can't. Only some of the Apple apps are allowed to do this. It's a platform restriction.

Chris Lively
+6  A: 

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
for displayng just message when my application not running ,how should I do that?
Aishwarya
+1  A: 

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