applicationWillResignActive called in first launch

Number:rdar://FB9825842 Date Originated:29.10.2021
Status:opened Resolved:-
Product:iOS Product Version:iOS 15.2 (19C51)
Classification: Reproducible:true
Link to SO:

When I load up the application the app delegate is calling applicationWillResignActive during the initial app load process. To my knowledge applicationWillResignActive is called when theres a phone call or text message received or when the anything interrupts the application. Heres the comment in the app delegate for appWillResignActive

Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.

And I know this is being called when the app first opens because I logged it using NSLog and stopped it using breakpoints. This is the flow returned from me logging the function calls

Application Became Active
Application Will Resign Active
Application Became Active
Heres the code as written in the app delegate

func applicationWillResignActive(_ application: UIApplication) {

    NSLog("Application Will Resign Active")

func applicationDidBecomeActive(_ application: UIApplication) {

    NSLog("Application BEcame Active")

I think this could be a bug since why would the app resign active when your trying to first load up the application? Or is the the correct flow for loading up the app? If so the comment makes it very confusing


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!