get device height spritekit code example Example: get device height spritekit print("Screen size: \(UIScreen.main.bounds.size)")