A notification indicating that the scene is running in the background and is no longer onscreen.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
Use this notification to reduce your scene's memory usage, free up any shared resources, and clean up your scene's user interface. Shortly after your notification handler returns, UIKit takes a snapshot of your scene's interface for display in the app switcher. Make sure your interface doesn't contain sensitive user information.
UIKit also calls the
scene method of your scene delegate object.
For more information about what to do when your app enters the background, see Preparing Your UI to Run in the Background.