When you play a music, the music title is shown below the time in the lock screen.
I have also seen how TuneIn radio does that by showing the name of the currently playing radio station.
How do you do that?
When you play a music, the music title is shown below the time in the lock screen.
I have also seen how TuneIn radio does that by showing the name of the currently playing radio station.
How do you do that?
Read the documentation:
MPNowPlayingInfoCenter
And here is an example code that will work on iOS 5 and it will not crash on older versions of iOS.