---
title: "init(contact:)"
framework: carplay
role: symbol
role_heading: Initializer
path: "carplay/cpcontacttemplate/init(contact:)"
---

# init(contact:)

Creates a contact template that displays the provided contact.

## Declaration

```swift
init(contact: CPContact)
```

## Parameters

- `contact`: The contact that the template displays.

## Return Value

Return Value A new contact template that displays the provided contact.
