repeatMode
The current repeat mode of the music player.
Declaration
var repeatMode: MPMusicRepeatMode { get set }Discussion
For the available repeat modes, see MPMusicRepeatMode. If not explicitly set, repeatMode defaults to MPMusicRepeatMode.default.