updateNowPlayingButtons(_:)
Updates the playback control buttons the template displays.
Declaration
func updateNowPlayingButtons(_ nowPlayingButtons: [CPNowPlayingButton])Parameters
- nowPlayingButtons:
The array of buttons to display.
Discussion
You can 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.