Resize a SKView in SpriteKit to fullscreen

What I want to achive:
I want to render a SKView with an SKScene that fills out all of my screen (Fullscreen). I have limited myself to one resolution for now. (iPad Air 4 with a resolution of 2360x1640) But if someone knows a solution that can be dynamically applied to all iDevices that would be even better.

What I have:
This is my GameViewController.swift file. I've tried all different scaleMode but no one works fine for my purpose.
In the Level_0-1.sks file i've specified a custom Size with W:2360 and H:1640.

Code Block swift
class GameViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
if let view = self.view as! SKView? {
let scene = SKScene(fileNamed: "Level_0-1")
view.presentScene(scene)
view.ignoresSiblingOrder = true
view.showsFPS = true
view.showsNodeCount = true
view.showsPhysics = true
}
}
}


What happens:
The problem is that the SKScene renders with black bars on the right and left side and on the top and bottom, even though I have specified the pixel resolution (as stated above)

Hope someone can help!

Resize a SKView in SpriteKit to fullscreen
 
 
Q