How to Pause my Game View Controler (which is the game) when segue to another VIew Controler (which is menu) , so When I press resume button in Menu View Controler it goes back to the Game View Controler right where it left off?
You can set the paused
property of your scene to true. Put this in your prepareForSegue
.
gameScene.paused = true //gameScene is whatever your scene variable is
When you return to the game VC, just set paused
to false.
If you look at the docs for SKScene you'll notice its a subclass of SKNode. Here's a link to the paused property on SKNode