A template that displays a grid of items.
- iOS 12.0+
Use this template to display a grid of items as buttons. When creating the grid template, provide an array of
CPGrid objects. Each button contains a title, an image, and an optional handler that the system invokes after the user taps the button on the CarPlay screen.
When there are more than eight buttons in the array, the template displays only the first eight. When there are more than four buttons, the template balances the display of the buttons betweem two rows.