A template that displays a hierarchical list of items.
- iOS 12.0+
When creating a list template, populate the list with an array of
CPList objects. Each section contains an array of
CPList objects. Each list item contains a title, and may also include a subtitle, image, and disclosure indicator to show the presence of a sublist.
To display the list on the CarPlay screen, call the interface controller’s
push method, passing in the list template. When the user selects an item from the list, the system calls
list, which your
delegate object implements.