---
title: carTraitCollection
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpinterfacecontroller/cartraitcollection
---

# carTraitCollection

The trait collection of the vehicle’s primary screen.

## Declaration

```swift
var carTraitCollection: UITraitCollection { get }
```

## Discussion

Discussion Use this trait collection to derive metrics, such as display scale, for your CarPlay templates. For example, images you display in a CPListTemplate can use this trait collection’s display scale rather than the scale of the user’s iPhone screen.
