10 second delay in app becoming active after a notification action

I noticed if I tried to do something in the application (in userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: () -> Swift.Void) after the user clicks on a notifiation action that it was taking about 10 seconds before it would be performed.

So I added some logging to see what was going on and there is a 10 second gap between userNotificationCenter:didReceive getting called and applicationDidBecomeActive being called.


I've not used notification actions prior to iOS 10, is this something that has always happened or is it likley to be a bug with the beta?

10 second delay in app becoming active after a notification action
 
 
Q