Post

Replies

Boosts

Views

Activity

Why does my UIApplicationDelegate receive applicationDidBecomeActive when pulling down notification center?
I've built a bare application with no functionality in XCode, and put logging statements in the applicationDidBecomeActive and applicationWillResignActive methods.When I swipe down to show the notification center, I see the following:2018-01-03 10:18:16.867028+0000 BareProject[1165:2053601] Resigning active2018-01-03 10:18:17.510713+0000 BareProject[1165:2053601] Active2018-01-03 10:18:17.634805+0000 BareProject[1165:2053601] Resigning activeIs 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:I tried this on ios 10.3 and this behavior does not exist.
6
1
1.8k
Jan ’18