A notification indicating that a scene is about to begin running in the foreground and become visible to the user.
- iOS 13.0+Beta
- tvOS 13.0+Beta
UIKit posts this notification before moving a scene to the foreground. This transition occurs both for newly created and connected scenes and for scenes that were running in the background and were brought to the foreground by the system or a user action. A scene enters the foreground as a precursor to becoming visible onscreen, so this method is invariably followed by the posting of a
did notification. UIKit places the scene object in the
object property of the notification.
UIKit also calls the
scene method of your scene delegate object.