<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMusicRepeatMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:@E@MPMusicRepeatMode"
  },
  "title" : "MPMusicRepeatMode"
}
-->

# MPMusicRepeatMode

The repeat modes for the media player.

```
enum MPMusicRepeatMode
```

## Topics

### Constants

[`MPMusicRepeatModeDefault`](/documentation/MediaPlayer/MPMusicRepeatMode/default)

The user’s preferred repeat mode.

[`MPMusicRepeatModeNone`](/documentation/MediaPlayer/MPMusicRepeatMode/none)

The music player will not repeat the current song or playlist.

[`MPMusicRepeatModeOne`](/documentation/MediaPlayer/MPMusicRepeatMode/one)

The music player will repeat the current song.

[`MPMusicRepeatModeAll`](/documentation/MediaPlayer/MPMusicRepeatMode/all)

The music player will repeat the current playlist.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)