I am trying to understand how to make my screen look the same in all iOS devices when building with Game Template. I totally get using constraints when building in Single View Application Template like Gbfunda but it seems game template doesn’t use this.
` let background = SKSpriteNode(imageNamed: “Background”)
background.posByCanvas(0.5, y: 0.5)
background.xScale = 0.38
background.yScale = 0.38
background.zPosition = -1
addChild(background)`
I have a func posByCanvas that calculates the screen size and scales depending on the device but some things will be cut out. Is there a way that I don’t know about that just handles this? Like when you use constraints and put the image to the borders and you loose nothing.