<!--
{
  "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 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayer/reasonForWaitingToPlay",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayer(py)reasonForWaitingToPlay"
  },
  "title" : "reasonForWaitingToPlay"
}
-->

# reasonForWaitingToPlay

The reason the player is currently waiting for playback to begin or resume.

```
nonisolated var reasonForWaitingToPlay: AVPlayer.WaitingReason? { get }
```

## Discussion

When the value of the player’s [`timeControlStatus`](/documentation/AVFoundation/AVPlayer/timeControlStatus-swift.property) is [`AVPlayer.TimeControlStatus.waitingToPlayAtSpecifiedRate`](/documentation/AVFoundation/AVPlayer/TimeControlStatus-swift.enum/waitingToPlayAtSpecifiedRate), you can use this property determine the reason the player is currently waiting for playback to begin or resume. Possible values for this property are:

- [`toMinimizeStalls`](/documentation/AVFoundation/AVPlayer/WaitingReason/toMinimizeStalls)
- [`noItemToPlay`](/documentation/AVFoundation/AVPlayer/WaitingReason/noItemToPlay)
- [`evaluatingBufferingRate`](/documentation/AVFoundation/AVPlayer/WaitingReason/evaluatingBufferingRate)

The value of this property will be `nil` if the player’s [`timeControlStatus`](/documentation/AVFoundation/AVPlayer/timeControlStatus-swift.property) is a value other than [`AVPlayer.TimeControlStatus.waitingToPlayAtSpecifiedRate`](/documentation/AVFoundation/AVPlayer/TimeControlStatus-swift.enum/waitingToPlayAtSpecifiedRate).

You can use the value of this property to conditionally show UI indicating the player’s waiting state. This property is observable using key-value observing.

---

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)