Why does my UIApplicationDelegate receive applicationDidBecomeActive when pulling down notification center? : <p>I've built a bare application with no functionality in XCode, and put logging statements in the applicationDidBecomeActive and applicationWillResignActive methods.</p>

<p>When I swipe down to show the notification center, I see the following:</p>

<p>2018-01-03 10:18:16.867028+0000 BareProject[1165:2053601] Resigning active</p>

<p>2018-01-03 10:18:17.510713+0000 BareProject[1165:2053601] Active</p>

<p>2018-01-03 10:18:17.634805+0000 BareProject[1165:2053601] Resigning active</p>

<p>Is this intended? My code does quite a lot of work when becoming active, only to have the rug pulled out from it again about 120ms later, and it seems that the documentation says I should be using applicationDidBecomeActive to restart tasks:
<a href="https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622956-applicationdidbecomeactive?language=objc" rel="noreferrer">https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622956-applicationdidbecomeactive?language=objc</a></p>

<p>I tried this on ios 10.3 and this behavior does not exist.</p>
