<!--
{
  "availability" : [
    "iOS: 16.0.0 - 27.0.0",
    "iPadOS: 16.0.0 - 27.0.0",
    "macCatalyst: 16.0.0 - 27.0.0",
    "macOS: -",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceDiscoveryExtension",
  "identifier" : "/documentation/DeviceDiscoveryExtension/DDDevice/mediaContentTitle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "DeviceDiscoveryExtension"
    ],
    "preciseIdentifier" : "c:objc(cs)DDDevice(py)mediaContentTitle"
  },
  "title" : "mediaContentTitle"
}
-->

# mediaContentTitle

A title for the current media that the device plays.

```
var mediaContentTitle: String? { get set }
```

## Discussion

Your app’s extension sets a value for this property to communicate to the system the particular media that the device currently plays. The system displays the information to the user in a Now Playing view in the picker UI.

Set this property to `nil` when [`mediaPlaybackState`](/documentation/DeviceDiscoveryExtension/DDDevice/mediaPlaybackState-swift.property) is [`DDDevice.MediaPlaybackState.noContent`](/documentation/DeviceDiscoveryExtension/DDDevice/MediaPlaybackState-swift.enum/noContent).

---

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)