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

# nowPlayingTemplateUpNextButtonTapped(_:)

Tells the observer that the user tapped the Up Next button.

```
optional func nowPlayingTemplateUpNextButtonTapped(_ 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 push an instance of [`CPListTemplate`](/documentation/CarPlay/CPListTemplate)—other template types are not supported when Now Playing is the visible template—on to your navigation stack that displays a list of upcoming or queued content.

---

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)