---
title: disableLooping()
framework: avfoundation
role: symbol
role_heading: Instance Method
path: avfoundation/avplayerlooper/disablelooping()
---

# disableLooping()

Disables looping for the player queue.

## Declaration

```swift
func disableLooping()
```

## Discussion

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 property will be restored afterwards.

## See Also

### Configuring looping

- [loopingPlayerItems](avfoundation/avplayerlooper/loopingplayeritems.md)
