upwart
Apr 14, 2014 - 11:07
I have Scene based program with some background music.
When I abort the program with the X in the top righthand corner, the music continues to play.
Is there a way to avoid this?
I have Scene based program with some background music.
When I abort the program with the X in the top righthand corner, the music continues to play.
Is there a way to avoid this?
You can implement a stop method in your scene class that gets called automatically when you close it, so you could stop music playback there.
It might be wicked cool to add stop() to the docs: http://omz-software.com/pythonista/docs/ios/scene.html
Oh thanks, didn't realize there's no documentation about that.