Get current playing song from Spotify iOS app

前端 未结 3 442
慢半拍i
慢半拍i 2020-12-25 12:41

I\'m trying to get info about the current playing song in Spotify iOS app. The scenario is as follows: Open Spotify iOS app, start playing a song. Put the app in background

3条回答
  •  醉梦人生
    2020-12-25 13:16

    With the latest version of the Spotify iOS SDK (introduced around Sep 2018) you can now subscribe for player events and detect when a new track starts playing.

    For more info check their the quick-start tutorial.

提交回复
热议问题