<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVMusicTrackLoopCount",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@E@AVMusicTrackLoopCount"
  },
  "title" : "AVMusicTrackLoopCount"
}
-->

# AVMusicTrackLoopCount

Options that define the number of times a track loops.

```
enum AVMusicTrackLoopCount
```

## Topics

### Elements

[`AVMusicTrackLoopCount.forever`](/documentation/AVFAudio/AVMusicTrackLoopCount/forever)

A track that loops forever.



---

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)