nowPlayingButtons
The Now Playing template’s playback control buttons.
Declaration
var nowPlayingButtons: [CPNowPlayingButton] { get }Discussion
You use the updateNowPlayingButtons(_:) method to provide a maximum of five playback control buttons. The template arranges the buttons using the array’s order, from the leading edge of the CarPlay screen to the trailing edge.