<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPNowPlayingTemplateObserver/nowPlayingTemplateAlbumArtistButtonTapped(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(pl)CPNowPlayingTemplateObserver(im)nowPlayingTemplateAlbumArtistButtonTapped:"
  },
  "title" : "nowPlayingTemplateAlbumArtistButtonTapped(_:)"
}
-->

# nowPlayingTemplateAlbumArtistButtonTapped(_:)

Tells the observer that the user tapped the Album-Artist button.

```
optional func nowPlayingTemplateAlbumArtistButtonTapped(_ nowPlayingTemplate: CPNowPlayingTemplate)
```

## Parameters

`nowPlayingTemplate`

The template that contains the button that the user tapped.

## Discussion

When CarPlay calls this method on your observer, you should present or push a new template that displays the content of the current album, playlist or podcast.

---

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)