Hi,

I wrote an application that needs to run as a daemon using launchd. My application is running as expected every x seconds.
The problem that I'm facing is that the application will not run anymore if I lock the phone. When i slide the bar and unlock the iphone the application continue to run. It seems that the launchd is will not run any jobs when the iphone is unlocked.
Is there a way to force the launchd to run my application?
Is there a different way to run my application every x seconds?
I know that some of the application still run when the iphone is locked, e.g phone calendar, alarm clock. how do these application continue to run when the iphone is locked?

Any help is appreciated.

Rony.