I am working on an app that is regularly performing web requests, I noticed that the requests were performed when I exited the app.
So I created an empty project to check if the issue came from me or not.
As you can see the willActivate()
function is triggered when the app is executed:
However, I noticed that when I quit the app (pushing the digital crown), right after the didDeactivate()
function is executed, willActivate()
is called and immediately after that, didDeactivate()
is executed again:
Apple documentation states that willActivate is called to let us know that the interface controller is active, but why ?