didChangeSize(_:)
Tells you when the scene’s size has changed.
Declaration
func didChangeSize(_ oldSize: CGSize)Parameters
- oldSize:
The old size of the scene, in points.
Mentioned in
Discussion
This method is intended to be overridden in a subclass. Typically, you use this method to adjust the positions of nodes in the scene.