Contents

view

The view that is currently presenting the scene.

Declaration

weak var view: SKView? { get }

Discussion

To present a scene, you call the presentScene(_:) method or presentScene(_:transition:) method on the SKView class. If the scene is not currently presented, this property holds nil.

See Also

Setting the Background Appearance