didFinishLaunchingWithOptions
didFinishLaunchingWithOptions is an optional method in the UIApplicationDelegate protocol. It is called by the system after the app has been launched and initialized, but before the user interface is presented. The method receives the application instance and a dictionary of launchOptions describing why the app was started, and it returns a Boolean value indicating whether the app finished launching successfully.
Purpose and typical use: Use this method to perform one-time or global setup for the entire app,
Launch options: The launchOptions dictionary can carry keys that describe the launch reason, including cases such
Lifecycle context: Starting with iOS 13, Apple introduced a scene-based lifecycle. In apps that use scenes, didFinishLaunchingWithOptions
Return value and best practices: Return true to indicate successful launch. Keep work here brief and synchronous