2

Music App shows lyrics(page of text) on a lock screen.

I tried to set MPMediaItemPropertyLyrics to show a lot of text, but it doesn't. Any ideas?

MPNowPlayingInfoCenter* mpic = [MPNowPlayingInfoCenter defaultCenter];
            mpic.nowPlayingInfo = @{MPMediaItemPropertyAlbumTitle:sight.guide.name,
        MPMediaItemPropertyTitle:sight.name, MPMediaItemPropertyLyrics:sight.note};
Shmidt
  • 16,436
  • 18
  • 88
  • 136

1 Answers1

1

You cannot set lyrics.

Only some types of properties shown in following document can be set: https://developer.apple.com/library/ios/documentation/MediaPlayer/Reference/MPNowPlayingInfoCenter_Class/Reference/Reference.html

idearibosome
  • 684
  • 1
  • 7
  • 17
  • Does this mean that you cannot display the lyrics on the lock screen? – Neeku Dec 04 '13 at 12:36
  • 3
    @Neeku No, you can't. If you really want to show lyrics on the lock screen, you may have to make an image which contains lyrics text and set it on MPMediaItemPropertyArtwork property. – idearibosome Dec 04 '13 at 13:29