icanzilb / TaskQueue

A Task Queue Class developed in Swift (by Marin Todorov)
MIT License
682 stars 74 forks source link

Do the tasks continue to run if the application enters background? #15

Closed ahmedk92 closed 8 years ago

ahmedk92 commented 8 years ago

And if they do, for how long?

It seems to me that the queue is subject to the limited time given by iOS to tasks created by application.beginBackgroundTaskWithExpirationHandler, since there is no additional setup required to use it.

icanzilb commented 8 years ago

yes, all code in your app is subject to the time that the OS gives to your app. If the OS deactivates your app there's no way to do more work