MPMoviePlayerNowPlayingMovieDidChange
Posted when the currently playing movie has changed. There is no userInfo dictionary.
Declaration
static let MPMoviePlayerNowPlayingMovieDidChange: NSNotification.NameDiscussion
To retrieve the URL for currently playing movie, access the movie player’s contentURL property. The movie player whose state has changed is available as the object associated with the notification.
See Also
MediaPlayer
MPMusicPlayerControllerQueueDidChangeMPMediaLibraryDidChangeMPMediaPlaybackIsPreparedToPlayDidChangeMPMusicPlayerControllerNowPlayingItemDidChangeMPMusicPlayerControllerPlaybackStateDidChangeMPMusicPlayerControllerVolumeDidChangeMPMovieDurationAvailableMPMovieMediaTypesAvailableMPMovieNaturalSizeAvailableMPMoviePlayerDidEnterFullscreenMPMoviePlayerDidExitFullscreenMPMoviePlayerIsAirPlayVideoActiveDidChangeMPMoviePlayerLoadStateDidChangeMPMoviePlayerPlaybackDidFinishMPMoviePlayerPlaybackStateDidChange