applicationDidFinishLaunching(_:)
Tells the delegate when the app has finished launching.
Declaration
optional func applicationDidFinishLaunching(_ application: UIApplication)Parameters
- application:
The singleton app object.
Discussion
Don’t use this method in your apps; instead, use the application(_:willFinishLaunchingWithOptions:) and application(_:didFinishLaunchingWithOptions:) methods.
Your implementation of this method creates your app’s user interface and initializes the app’s data structures. If your app persists its state between launches, you would also use this method to restore your app to its previous state.
After calling this method, the app also posts a didFinishLaunchingNotification notification to give interested objects a chance to respond to the initialization cycle.