---
title: CPInformationTemplate
framework: carplay
role: symbol
role_heading: Class
path: carplay/cpinformationtemplate
---

# CPInformationTemplate

A template that provides information for a point of interest, food order, parking location, or charging location.

## Declaration

```swift
@MainActor class CPInformationTemplate
```

## Overview

Overview An information template displays a list of items, and up to three actions the user can perform. You use an information template to display informative, actionable content to the user. For example, you might display a summary of the user’s food order, and provide actions to place or cancel the order. When creating an information template, you populate the list with an array of CPInformationItem objects, and provide any contextual actions as an array of CPTextButton objects. The template then arranges the list’s items using your choice of layout — see CPInformationTemplateLayout for more information. To display an information template, call your interface controller’s pushTemplate(_:animated:completion:) method to push it onto the navigation hierarchy, or presentTemplate(_:animated:completion:) to present it modally. note: You can’t use CPInformationTemplate in apps with the audio entitlement.

## Topics

### Creating an Information Template

- [init(title:layout:items:actions:)](carplay/cpinformationtemplate/init(title:layout:items:actions:).md)

### Accessing the Layout

- [layout](carplay/cpinformationtemplate/layout.md)
- [CPInformationTemplateLayout](carplay/cpinformationtemplatelayout.md)

### Managing the Title

- [title](carplay/cpinformationtemplate/title.md)

### Managing the Items

- [items](carplay/cpinformationtemplate/items.md)
- [CPInformationItem](carplay/cpinformationitem.md)
- [CPInformationRatingItem](carplay/cpinformationratingitem.md)

### Managing the Actions

- [actions](carplay/cpinformationtemplate/actions.md)

## Relationships

### Inherits From

- [CPTemplate](carplay/cptemplate.md)

### Conforms To

- [CPBarButtonProviding](carplay/cpbarbuttonproviding.md)
- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Location and Information

- [CPPointOfInterestTemplate](carplay/cppointofinteresttemplate.md)
- [CPTextButton](carplay/cptextbutton.md)
- [Integrating CarPlay with your quick-ordering app](carplay/integrating-carplay-with-your-quick-ordering-app.md)
