<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPNowPlayingTemplate/isAlbumArtistButtonEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPNowPlayingTemplate(py)albumArtistButtonEnabled"
  },
  "title" : "isAlbumArtistButtonEnabled"
}
-->

# isAlbumArtistButtonEnabled

A Boolean value that indicates whether the album and artist string is a button.

```
var isAlbumArtistButtonEnabled: Bool { get set }
```

## Discussion

The Now Playing template displays a string above the playback control buttons that contains the album and artist names. Set this property to <doc://com.apple.documentation/documentation/Swift/true> to turn the string into a button that you can use to present more information about the current track. To respond to a user tapping the button, create an object that conforms to [`CPNowPlayingTemplateObserver`](/documentation/CarPlay/CPNowPlayingTemplateObserver) and register it with the Now Playing template using the template’s [`add(_:)`](/documentation/CarPlay/CPNowPlayingTemplate/add(_:)) method.

The default value is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)