Reputation: 353
I have a SKScene with some SKSpriteNode and I wanted to draw a shape on CALayer of the SKScene view.
It's working well but my CALayer is always above my SKSpriteNode and I don't know how to send this layer to the back (I mean under the child of my scene)
Is it possible to do that ?
Thanks
Upvotes: 1
Views: 615
Reputation: 32459
No, that's impossible. You cannot place any of your SKNodes
above SKView
s layer
.
To draw a shape use SKShapeNode
. It's buggy in iOS 7, but people says it's been improved for iOS 8
Upvotes: 1