Launch App as a Service on iOS / Cydia
I am currently trying to create a small application that needs to run in the background. It should start from the system or springboard and run until the device shuts down. I searched for tutorials but didn't find anything useful. It would be great if someone could help me.
Regards
EDIT . I'm sure this is not possible in an app designed for the AppStore, but I'm looking for an option that works with jailbreak devices.
source to share
Wrong answer by ColinE . SuperDev is correct . You can certainly create services on iOS just like you can on OS X.
As another link, the best tutorial I have found on the subject is Chris Alvares' blog post on creating an iOS launcher daemon . (Launch Daemon is the correct iOS terminology for what you are describing)
You can find more useful information in the Apple Docs for running daemons or looking for OS X information, not just for iOS where jailbreak is required (and therefore less widely used).
Cydia has many applications that start a daemon or contain a launcher daemon (possibly besides the UI app).
source to share
This is not possible, you cannot create "service" type applications:
iOS: maintain the app as a service
This is by design. Apple restricts what your apps can do to provide a good user experience. If everyone could create background services, it would soon slow down user phones - like Windows PCs!
source to share