<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.2 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPNowPlayingInfoPropertyPlaybackQueueIndex",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:@MPNowPlayingInfoPropertyPlaybackQueueIndex"
  },
  "title" : "MPNowPlayingInfoPropertyPlaybackQueueIndex"
}
-->

# MPNowPlayingInfoPropertyPlaybackQueueIndex

The index of the Now Playing item in the app’s playback queue.

```
let MPNowPlayingInfoPropertyPlaybackQueueIndex: String
```

## Discussion

Value is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object configured as an <doc://com.apple.documentation/documentation/ObjectiveC/NSUInteger>. The playback queue uses zero-based indexing. For example, to display first item in the queue as “item 1 of 10,” set the item’s index to `0`.

---

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)