PrepareToPlayWithCompletionHandler Automatically Plays Music

Has anyone else noticed the PrepareToPlayWithCompletionHandler and probably just PrepareToPlay automatically start playing the music after being called?

This function worked as intended on iOS 11.2.6 which was Prepare to play the queued up song, then when the completion handler has told use that it has finished preparing then call Play, but now we just upgraded our devices to 11.3 and the music just automatically plays.


Don't want to submit a bug unless others are seeing it too.

Accepted Reply

You're not the only one. I've noticed this since the first 11.3 beta. It's mentioned earlier in this post:

https://forums.developer.apple.com/thread/96287

And has had at least one bug submission:

# 37786167 - calling prepareToPlay() on MPMusicPlayerController.systemMusicPlayer starts play

Please DO submit another bug report as the already submitted reports seem to get pushed down in the queue.

Replies

You're not the only one. I've noticed this since the first 11.3 beta. It's mentioned earlier in this post:

https://forums.developer.apple.com/thread/96287

And has had at least one bug submission:

# 37786167 - calling prepareToPlay() on MPMusicPlayerController.systemMusicPlayer starts play

Please DO submit another bug report as the already submitted reports seem to get pushed down in the queue.

thank you so much, now to sit and wait for this to be fixed....