Background Audio with cocoalibspotify

后端 未结 2 646
温柔的废话
温柔的废话 2021-02-06 06:56

I\'ve properly enabled background audio for my app (in the plist). Playing the next track after the current is complete using SPPlaybackManager in the background (when the phone

2条回答
  •  无人及你
    2021-02-06 07:37

    CocoaLibSpotify does a lot of work to start playing a track and will likely spawn new internal threads in the process. I doubt this is allowed in the audio style of backgrounding so you'll likely need to start a temporary background task to change tracks.

提交回复
热议问题