unexpected late AppDelegate method call time on iOS 11

I have built and run my app on different version of iPhone 7. Same code was executed but [AppDelegate applicationDidBecomeActive] was called with delay on iOS 11 devices.

I did couple tests and the method delay is always reproducible. On iOS 10, time elapses between

-[UIApplicationDelegate application: didFinishLaunchingWithOptions:]
and
-[UIApplicationDelegate applicationDidBecomeActive:]
is around 300ms while on iOS 11 is around 1300ms

I hope to know what has been added to app lifecycle in iOS 11.

Shouldn't anybody else meet this? it should be a very common case..😮

Hi!


Yes, I have an application which put blurred screenshot on willResignActive and remove it on didBecomeActive

I also put debug print in both delegate callbacks.

And yes, call to -didBecomeActive is delayed.


My steps:

- swipe up from bottom control panel.

- swipe it down.
- wait before blurred snapshot disappeared.


If I don't put screenshot, it actually become active ( output ) with the same duration.

Interesting thing:

- I could interact with application before didBecomeActive debug output appeared.

unexpected late AppDelegate method call time on iOS 11
 
 
Q