Value of type 'GameScene' has no member 'presentViewController' in Swift
<p>I'm trying to present a menu (GameViewController). I try to execute this move in GameScene:</p>

<pre><code>let secondViewController:GameViewController = GameViewController()

self.presentViewController(secondViewController, animated: true, completion: nil)
</code></pre>

<p>but there's an error on the <code>self.presentViewController(secondViewController, animated: true, completion: nil)</code> line it says "Value of type 'GameScene' has no member 'presentViewController' in Swift". I can't execute the move using .presentViewController , it needs to be done programmatically and without using segues and it has to be able to be used in a SKScene.</p>

<p>Thanks in advance,
Niall</p>