skipToNextItem()
Starts playback of the next media item in the playback queue, or if the music player isn’t playing, designates the next media item as the next item to play.
Declaration
func skipToNextItem()Discussion
Calling this method when already at the last item in the playback queue ends playback.