<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerLooper/disableLooping()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerLooper(im)disableLooping"
  },
  "title" : "disableLooping()"
}
-->

# disableLooping()

Disables looping for the player queue.

```
func disableLooping()
```

## Discussion

The player looper will stop performing player queue operations for looping and let the current looping item replica play to the end. The player’s original [`actionAtItemEnd`](/documentation/AVFoundation/AVPlayer/actionAtItemEnd-swift.property) property will be restored afterwards.

---

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)