Question

Our music app uses AVAudioPlayer to play music. But in background, the multitasking bar does not show play/pause/stop controls to control audio of our app. Is there way to do it?

Was it helpful?

Solution

Yes, but you have to use this class:

MPNowPlayingInfoCenter Class Reference

If you have specific questions about it, just ask.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top