Set a transparent background color to show the content of the views below.
On This Page
To overlay content rendered with SpriteKit on top of another view, follow these steps:
Set the scene's backgroundColor to clear.
Enable allowsTransparency on the view.
Set the view's backgroundColor to clear.
var view: SKView?
The view that is currently presenting the scene.
var backgroundColor: UIColor
The background color of the scene.