Is there a way to stop music playing when I exit?
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
stopmethod 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.