applicationWillResignActive
The applicationWillResignActive method is a delegate method in Apple's application framework, typically found in applications developed for iOS, macOS, and other Apple platforms. It is part of the UIApplicationDelegate protocol. This method is called by the system when an application is about to transition from an active state to an inactive state. This transition typically occurs when the application loses focus, such as when the user switches to another application, receives a phone call, or encounters a system-level alert.
When applicationWillResignActive is invoked, it signifies that the application's user interface will no longer be the
This method is a counterpart to applicationDidBecomeActive, which is called when an application transitions from an