Question

I need to run my app continuously in background (not periodically), while supporting iOS 6.

I ran http://www.raywenderlich.com/29948/backgrounding-for-ios example, which runs well for a while, but after some time (i guess 10 minutes limit or 100+ pings) it crashes.

Following is the crash log

Application Specific Information:
BKUnsuspendLimit TheBackgrounder[5183] exceeded 15 wakes in 300 sec

How can I avoid this crash?

Was it helpful?

Solution

There is one possible 'hack' which would allow your app to run indefinitely in background. But beware, Apple will reject your app instantly.

Pastebot looped a silent MP3 in the background to keep itself continuously active. You can read more about that process and Apple's rejection of it here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top