I'm looking to get the current track playing on iOS whatever the app which is playing the track. I mean, for example, if I use SoundCloud or Spotify on my phone, the player on control center is the same, so I think it's possible to get the current track name.
However I don't know how to do this, maybe someone could help me ?
Thanks
Frustratingly you can only get the details of the songs playing on the Music (iPod) app:
To get the details of songs from other apps you should be able to call:
but it always returns
nil
.