From the main menu scene, pressing play to take you to the game happens instantly. However to go from the game back to the main menu scene, takes around 3 to 4 seconds from the moment the user presses the exit button. Is there any reason for this? The main menu screen just has 3 SKSpriteNodes, so nothing overly complex.
Is this something I would need to use background threading in order to fix?
I am presenting the scene like so:
//Pressed exit button
if CGRectContainsPoint(exitButton.frame, location)
//Present main menu scene
let skView = self.view! as SKView
var scene: TitleScene!
scene = TitleScene(size: skView.bounds.size)
skView.presentScene(scene)
}