xcode - How can I make SKSpriteNode positions the same for any simulator/device? -
in game, position of sknodes change when run app on virtual simulator vs on real device(my ipad). here pictures of talking about. this virtual simulator this ipad it hard see, 2 red boxes higher on ipad in simulator here how declare size , position of red boxes , green net: following code located in gamescene.swift file func loadappearance_rim1() { rim1 = skspritenode(color: uicolor.redcolor(), size: cgsizemake((frame.size.width) / 40, (frame.size.width) / 40)) rim1.position = cgpointmake(((frame.size.width) / 2.23), ((frame.size.height) / 1.33)) rim1.zposition = 1 addchild(rim1) } func loadappearance_rim2(){ rim2 = skspritenode(color: uicolor.redcolor(), size: cgsizemake((frame.size.width) / 40, (frame.size.width) / 40)) rim2.position = cgpoint(x