Playing audio files in background does not work
i'm trying to implement an audio player who plays music, even in background or when the device is turned off. I have tested all code examples from this thread, but no ones work. Immediately after clicking the home-Button or turning of the device the sound is fading out.
It seams to me, that Pythonista doesn't meet the requirements from Apple to play music in background .
Am i wrong?
You're right, Pythonista cannot play audio in the background. I've tried to implement this once (and it was possible in some beta a while ago), but it was rejected by app review because Pythonista is not an "audio app".
Can Swift Playgrounds do it?!?
@ccc I don’t think so, not completely sure though.
@omz thank you for the fast reply. Though the answer is disappointing.
I completely disagree with Apples position.
Pythonista isn't a document scanner or calculator. No 2D-Game, no text writer etc. But it is an IDE. So it's all of them.
Apple, this is nonsense.
I hope they will correct this mistake in the near future. Maybe this is one step towards that.
I really would like to have this functionality. Maybe including an example of this functionality with Pythonista would qualify it as an “audio app”?