Proper way to pause a game (swift and sprite kit)


i’d love to see a tutorial on how best to implement a pause / resume routine in a sprite kit game, in Swift (of course)

i know the basics - just call pause … and this does work - except when exiting the app during a paused state. when i go back into my game app the game resumes, but my pause overlay doesn’t go away and my game dies behind this !

anyway - just saying i’d like to see a tutorial with a really solid implementation of a pause routine.



I’m having the same issue, does anybody know the answer?

Thank you!