Tells the delegate when the app has finished launching. Don’t use. Instead, use application(_:
.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
optional func applicationDidFinishLaunching(_ application: UIApplication)
Parameters
application
The singleton app object.
Discussion
Although not formally deprecated, do not use this method in your apps. Use the application(_:
and application(_:
methods instead.
Your implementation of this method should create your app’s user interface and initialize 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 did
notification to give interested objects a chance to respond to the initialization cycle.