<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMediaItemCollection/representativeItem",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPMediaItemCollection(py)representativeItem"
  },
  "title" : "representativeItem"
}
-->

# representativeItem

A media item whose properties are representative of the other media items in a collection.

```
var representativeItem: MPMediaItem? { get }
```

## Discussion

The media items in a collection typically share common property values, owing to how you built the collection. For example, if you build a collection based on a predicate that uses the [`MPMediaItemPropertyArtist`](/documentation/MediaPlayer/MPMediaItemPropertyArtist) property, all items in the collection share the same artist name. You can use the `representativeItem` property to efficiently obtain values for such common properties—often more efficiently than fetching an item from the [`items`](/documentation/MediaPlayer/MPMediaItemCollection/items) array.

---

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)