Global Variable

MPMusicPlayerControllerNowPlayingItemDidChangeNotification

Posted when the currently playing media item has changed.

Declaration

const NSNotificationName MPMusicPlayerControllerNowPlayingItemDidChangeNotification;

Discussion

The object associated with the notification is the music player whose now-playing item changed. The notification has no userInfo dictionary.

See Also

Using Music Player Notifications

- beginGeneratingPlaybackNotifications

Starts the generation of playback notifications.

- endGeneratingPlaybackNotifications

Ends the generation of playback notifications.

MPMusicPlayerControllerPlaybackStateDidChangeNotification

Posted when the playback state changes programmatically or by user action.

MPMusicPlayerControllerVolumeDidChangeNotification

Posted when the audio playback volume for the music player has changed.