Transitions from the current scene to a new scene.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
The scene to present.
A transition used to animate between the two scenes.
If there is currently a scene presented by the view, the view’s
scene property is updated immediately, the transition is executed to swap between the scenes. Otherwise, the new scene is presented immediately and the transition property is ignored.