Tells the delegate that the scene became active and is now responding to user events.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
The scene that became active and is now responding to user events.
Use this method to prepare your scene to be onscreen. UIKit calls this method after loading the interface for your scene, but before that interface appears onscreen. Use it to refresh the contents of views, start timers, or increase frame rates for your UI.
In addition to calling this method, UIKit also posts a
did notification. For more information on what to do when your app becomes active, see Preparing Your UI to Run in the Foreground.