SKEmitter not paused

Hi everyone,


I have a spritekit scene with some emitters. When the scene is paused, the emitters go in pause. But when the app goes in background and the method

@objc func appMovedToBackground()

is triggered and the same code gets executed, only the emitters don't go in pause but they continue to disappear.

How can I stop the emitters also in this case?


Thank you for the help