I'm trying to get the lyrics for a song on an iOS device, and the examples I found on the Internet and showoverflow show get the MPMediaItem song (ie using [MPMediaQuery songsQuery] with MPMediaItemPropertyPersistentID as a predicate) and then extracting the text using:
[mediaItem valueForProperty:MPMediaItemPropertyLyrics]
The problem is that this only works if you first open the song in the iPod music app and view the lyrics there. Even if you do this the next time you synchronize, it may stop working again.
How can we get reliable access to texts?
source
share