A setting that defines how the scene is mapped to the view that presents it.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 3.0+
It is possible for a scene’s size to differ from the size of the view it is presented in. The scale mode determines how the visible portion of the scene is mapped to the view. The possible values are listed in
SKSceneScaleMode. The default value is
Stretching Content to Fit the View
The modes that determine how the scene’s area is mapped to the view that presents it.