When backgroundTimeRemaining==0, why does the program continue to run in the background?

When backgroundTimeRemaining==0, why does the program continue to run in the background? Running for a long time, more than an hour

backgroundTimeRemaining is generally not useful. See my UIApplication Background Task Notes for more about that.

Are you running your app under the debugger? If so, be aware that the debugger radically changes your background execution behaviour. I’ve posted about this before, albeit in a radically different context. See Testing Background Session Code.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

When backgroundTimeRemaining==0, why does the program continue to run in the background?
 
 
Q