Notifies the view controller that its view is about to be added to a view hierarchy.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
- Xcode 11.0+
true, the view is being added to the window using an animation.
SwiftUI calls this method before adding the hosting controller's root view to the view hierarchy. You can override this method to perform custom tasks asssociated with the appearance of the view. If you override this method, you must call
super at some point in your implementation.