Я захожу в библиотеку ipod в приложении iphone и показываю название, текст и обложку альбома. Я также хочу показать тексты песен.Я добавил текст в itunes и синхронизировал его с устройством. Но мой код не показывает текст ..
Пример отсюда и код для получения текста: -
- (void)handleNowPlayingItemChanged:(id)notification {
// Ask the music player for the current song.
MPMediaItem *currentItem = self.musicPlayer.nowPlayingItem;
// Display the artist, album, and song name for the now-playing media item.
// These are all UILabels.
self.songLabel.text = [currentItem valueForProperty:MPMediaItemPropertyTitle];
self.artistLabel.text = [currentItem valueForProperty:MPMediaItemPropertyAlbumArtist];
self.albumLabel.text = [[currentItem valueForProperty:MPMediaItemPropertyLyrics]retain];
}
Пожалуйста, помогите.Спасибо