We're observing similar behaviour where pulling down control centre (the app turns inactive) or having FaceID auth (the app turns inactive), the applicationDidBecomeActive() will be slower to be called.
Topic:
UI Frameworks
SubTopic:
UIKit