get device height spritekit

Swift
print("Screen size: \(UIScreen.main.bounds.size)")
Source

Also in Swift: