How to send information to the Remote-Control (lock screen) in iOS

732 Views Asked by At

i'm currently having issues changing track information at the lock screen. I have managed to get playing/pausing from the lock screen, and everything works fine and dandy, but I'm completely lost on how to send the "currently playing" information over to it.

I am using an AVPlayer to play streaming audio from the internet. Does anyone know how to set the artist/track name at the lock screen? Perhaps by sending over the AVPlayerItem? Any help is greatly appreciated!

Thanks!

1

There are 1 best solutions below

0
On BEST ANSWER

New in iOS 5, MPNowPlayingInfoCenter.. Let's you send information to the lock screen such as artist info, song info, etc.

Here is the documentation on it